Skip to content

huzaifsk/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions

Welcome to my LeetCode solutions repository! Here, you'll find solutions to various LeetCode problems, all implemented in JavaScript. I’ve organized the solutions by topic to make it easier to navigate and study specific concepts.

About

Each solution includes detailed code to help you understand the approach taken to solve each problem. This repository is a work-in-progress as I continue to tackle new problems and add solutions.

Feel free to explore, and if you have suggestions or improvements, don't hesitate to contribute!

LeetCode Topics

Hash Table

0001-two-sum
0013-roman-to-integer
0217-contains-duplicate
0268-missing-number
2053-check-if-all-characters-have-equal-number-of-occurrences

Math

0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0233-number-of-digit-one
0268-missing-number
0412-fizz-buzz
1013-fibonacci-number
1146-greatest-common-divisor-of-strings

String

0013-roman-to-integer
0014-longest-common-prefix
0125-valid-palindrome
0412-fizz-buzz
1146-greatest-common-divisor-of-strings
2053-check-if-all-characters-have-equal-number-of-occurrences

Dynamic Programming

0233-number-of-digit-one
1013-fibonacci-number

Recursion

0233-number-of-digit-one
1013-fibonacci-number

Memoization

1013-fibonacci-number

Simulation

0412-fizz-buzz

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0217-contains-duplicate
0268-missing-number

Sorting

0217-contains-duplicate
0268-missing-number

Binary Search

0035-search-insert-position
0268-missing-number

Bit Manipulation

0268-missing-number

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0125-valid-palindrome

Counting

2053-check-if-all-characters-have-equal-number-of-occurrences

Trie

0014-longest-common-prefix