├── LICENSE ├── README.md └── top-interview-questions-easy ├── array ├── buyandsell.ts ├── containsduplicate.ts ├── duplicates.ts ├── intersectiontwoarrays.ts ├── movezeroes.ts ├── plusone.ts ├── rotatearray.ts ├── rotateimage.ts ├── singlenumber.ts ├── twosum.ts └── validsudoku.ts ├── design ├── minstack.ts └── shuffleanarray.ts ├── dynamic-programming ├── besttimetobuyandsell.ts ├── climbingstairs.ts ├── houserobber.ts └── maximumsubarray.ts ├── linkedlist ├── deletenodeinlinkedlist.ts ├── linkedlistcycle.ts ├── mergetwosortedlists.ts ├── palindromelinkedlist.ts ├── removenthnode.ts └── reverselinkedlist.ts ├── math ├── countprimes.ts ├── fizzbuzz.ts ├── powerofthree.ts └── romantointeger.ts ├── others ├── hammingdistance.ts ├── missingnumber.ts ├── numberof1bits.ts ├── pascaltriangle.ts ├── reversebits.ts └── validparenthesis.ts ├── sorted-and-searching ├── firstbadversion.ts └── mergesortedarray.ts ├── strings ├── atoi.ts ├── countandsay.ts ├── firstuniquechar.ts ├── longestcommonprefix.ts ├── reverseinteger.ts ├── reversestring.ts ├── strStr.ts ├── validanagram.ts └── validpalindrome.ts └── trees ├── binarytreelevelordertraversal.ts ├── convertsortedarraytotree.ts ├── maxdepthofbinarytree.ts ├── ordertraversal.ts ├── symmetrictree.ts └── validatebinarysearchtree.ts /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/README.md -------------------------------------------------------------------------------- /top-interview-questions-easy/array/buyandsell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/buyandsell.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/containsduplicate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/containsduplicate.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/duplicates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/duplicates.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/intersectiontwoarrays.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/intersectiontwoarrays.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/movezeroes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/movezeroes.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/plusone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/plusone.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/rotatearray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/rotatearray.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/rotateimage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/rotateimage.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/singlenumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/singlenumber.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/twosum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/twosum.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/array/validsudoku.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/array/validsudoku.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/design/minstack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/design/minstack.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/design/shuffleanarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/design/shuffleanarray.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/dynamic-programming/besttimetobuyandsell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/dynamic-programming/besttimetobuyandsell.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/dynamic-programming/climbingstairs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/dynamic-programming/climbingstairs.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/dynamic-programming/houserobber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/dynamic-programming/houserobber.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/dynamic-programming/maximumsubarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/dynamic-programming/maximumsubarray.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/deletenodeinlinkedlist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/deletenodeinlinkedlist.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/linkedlistcycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/linkedlistcycle.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/mergetwosortedlists.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/mergetwosortedlists.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/palindromelinkedlist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/palindromelinkedlist.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/removenthnode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/removenthnode.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/linkedlist/reverselinkedlist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/linkedlist/reverselinkedlist.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/math/countprimes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/math/countprimes.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/math/fizzbuzz.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/math/fizzbuzz.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/math/powerofthree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/math/powerofthree.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/math/romantointeger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/math/romantointeger.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/hammingdistance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/hammingdistance.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/missingnumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/missingnumber.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/numberof1bits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/numberof1bits.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/pascaltriangle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/pascaltriangle.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/reversebits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/reversebits.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/others/validparenthesis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/others/validparenthesis.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/sorted-and-searching/firstbadversion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/sorted-and-searching/firstbadversion.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/sorted-and-searching/mergesortedarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/sorted-and-searching/mergesortedarray.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/atoi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/atoi.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/countandsay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/countandsay.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/firstuniquechar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/firstuniquechar.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/longestcommonprefix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/longestcommonprefix.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/reverseinteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/reverseinteger.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/reversestring.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/reversestring.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/strStr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/strStr.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/validanagram.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/validanagram.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/strings/validpalindrome.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/strings/validpalindrome.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/binarytreelevelordertraversal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/binarytreelevelordertraversal.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/convertsortedarraytotree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/convertsortedarraytotree.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/maxdepthofbinarytree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/maxdepthofbinarytree.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/ordertraversal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/ordertraversal.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/symmetrictree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/symmetrictree.ts -------------------------------------------------------------------------------- /top-interview-questions-easy/trees/validatebinarysearchtree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DGKSK8LIFE/leetcode/HEAD/top-interview-questions-easy/trees/validatebinarysearchtree.ts --------------------------------------------------------------------------------