Recursion
Introduction Recursion is a common topic during coding interview. This post talks about how to succesfully write a correct recursion […]
Introduction Quick select is an algorithm used to quickly locate the Kth largest/smallest element in an array. Technically speaking, it’s
The original question can be found here. It’s asking us to provide O(nlogn)solutions. Quick Sort The algorithm can be found
Introduction Both merge sort and quick sort are popular sorting algorithms. They both use recursion and leverage devide and conquer
Introduction Merge sort is another popular algorithm, with time complexity as O(nlogn). It’s leveraging the principle of divide and conquer,
Introduction Quick sort is one of the most popular algorithms for sorting. It’s not uncommon to see this algorithm or
This is probably our very first coding preparation question. The original question can found here. This question is asking us
The original question can be found here. The question is asking if a string is palindromic if at most 1
The original question can be found here. The question is asking for a given string, determine if it’s palindromic. Only
The original question can be found here. There’re multiple solutions to this question, and we’ll start with the brute force