Press "Enter" to skip to content

Minimum edit distance

Ajk 0

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…

How to Implement QuickSort in Java

Ajk 1

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…

How to Print N Integers in String Order

Ajk 0

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,…

How to Convert a Roman Number to Integer

Ajk 0

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…