Today I finally decided to write down a dynamic programming question. It’s very cliche and gets asked a lot in interviews. Given two words we want to find the minimum…

Today I thought I would take a look at a small interview question with a small gimmick: In an unsorted array of numbers that occurs an even number of times…

Today, I wanted to take a look at a pretty common sorting technique. Indeed anyone with a Bachelor in CS is expected to know how to implement QuickSort in java…

Today, I took a look at this simple-looking problem. It’s mainly Bit Manipulation, where you need to find the number of bits required to change one Integer to another. In…

Today I wanted to do a quick recursive problem that came to my attention. It took me about 20 mins to finalize this the way I wanted it… (5-10 too…

Today I wanted to discuss quickly a simple looking question regarding finding longest words containing given characters. This time we are not dealing with a very tech savvy guy, so…

So the purpose of this question is to print out N integers in String Order. For example, if N is 1000, then we will output: 1, 10, 100, 1000, 101,…

This question came to my attention from one of my readers a few days ago. They had been asked this question in an online interview and implied that it was…

Today thought I’d do a basic String question, since I have not done one in a while. How to find the first non repeated character in a String, is a…