Just solving a list of interview questions for algorithms and data structures review.
Determine if a string is a palindromeMerge two sorted arraysReverse an array in placeDetermine if string is a substringSorting algorithms: quicksort, mergesort, bucketsort, and countingsortBinary search in a sorted rotated arrayMatrix multiplicationFind all duplicates in an array
Reverse a singly linked listDelete/Insert a node in a linked listDetect if there is a cycle in the list and return its starting pointMerge two sorted listsSplit a list into two lists where one has the even indices while other has the odd indices
Construct a BST from a sorted arrayAll traversalsBFS/DFSCheck if a tree is balancedCheck if two trees are mirror image of each otherFind max path sum in the tree where negative nodes are possibleFind the lowest common ancestor of 2 nodes in a tree
Find all permutations of an arrayFind all possible subsets of an arrayConvert numbers into words according to letters on an old phone keypad
Keep track of multiple occurrences of an object
Given you can climb 1, 2, or 3 stairs in one step, how many ways can you reach the top?Djikstra's shortest path algorithm