In our previous article, we learned that Catalan numbers is a sequence of infinite numbers with its own property. We also went through some questions or examples that would use Catalan numbers to provide the answer. Just like square numbers or Fibonacci numbers, Catalan Numbers has its own sequence pattern…

What are Catalan numbers? To put it shortly, Catalan numbers is a sequence of infinite numbers with its own property. In mathematics, we have different sequence of number patterns that we’ve all have come across. Of course no other sequence would be possible with out our basic counting numbers sequence(1,2,3,4,5…)…

This week will take a look at a popular leetcode problem and try to solve it with a data structure that we are familiar with. This question is extremely relevant to every day coding. Anyone who has touched a code editor knows the frustration and the feeling of missing a…

Palindromes | semordnilaP

Going through algorithms and practice questions, we all have come across a palindrome or two. If you haven’t, you will run in to one soon. So what is a palindrome you ask?

A palindrome is a word, phrase, number or a sequence of characters that reads the same backward or…

Do you have a need for speed? Do you want to do a search and get the answer right here? Right now? If you do, then hash maps are for you because they have a time complexity of O(1). Before we dig any deeper, you should know the HashMap data…

In a previous blog, I went over a coding challenge where we were searching for the closest value in a binary search tree (BST). But now we will go through a binary search tree and see how we can insert and search from a tree.

To start off lets explain…

As a software engineer, one concept you need to understand is the difference between synchronous and asynchronous code. As the name implies, synchronous code is sequential, or one at a time. Each line of code is dependent on the completion of the previous line above and doesn’t get performed until…

Johnson Liu

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store