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…
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…
Today, we will have a walkthrough of a classical interview problem. This problem has been asked in many coding interviews…
Pointers! I have sensed a weird kind of pointer fear in many of my pals. They are literally like…
High rise buildings and too many stairs! Well, wait! Do you ever think about the number of ways you can climb to the…
Tricks? Yes, you read it right! Clever programmers always love such things. Bits have made my life so easy, that I always love to talk…