Coding Interview Questions

Reverse an array

Question: Given an array, print that array in reverse order. Example: Input : {5, 4, 3, 2, 1} Output : {1, 2, 3, 4, 5} Solution: We can solve…

Min Edit Distance

In this tutorial we shall solve min edit distance with help of DP. Problem statement: You are given 2 strings. You need to find min distance…