Showing posts with label Dynamic Programming. Show all posts
Showing posts with label Dynamic Programming. Show all posts

Sep 28, 2009

Given two strings, find the minimum no. of steps required to covert one to the other?

Sep 8, 2009

Given a string of n characters, find the longest palindrome in the string.

O(n2) is simple, O(n) is nice

Apr 1, 2008

Knapsack Problem Variation

Given infinite supply of "n" denominations of coins and a change amount "A", give an algorithm to use minimum number of coins to do the transaction?