Recently, I came across this very beautiful problem which is also a very good use case of graph breadth first search algorithm.
Suppose, you are trying to build a project and it has multiple modules. Different modules may depend on each other…
Sorting is a technique used to arrange the collection of objects into either ascending order or descending order. There are many sorting…
In the ancient times, when there were no smartphones, the mobile phones used to have a keypad…
There is an 8x8 chessboard, there can be multiple Black Queens and one White King. We are given with the coordinates of all the black queens and and one white king, we have to return all the queens (in any order) that…
Hi! Today we are going to talk about a very useful concept known as regular expressions also called regex.
Let’s first understand what does permutation mean. Definition taken from Wikipedia says, “In mathematics, a…
Hi guys, I am back with another coding interview problem. So, here we go!
Today, we will have a walkthrough of a classical interview problem. This problem has been asked in many coding interviews…