In this week solving 3 more interesting challenge:
> string similarity: a little bit easy question nlog(n) solution too works, if coded efficiently.
> permutation game: interesting problem, requires DP with memoization.
> candies: its fun to solve it. O(n) solution take 0.08 for the worst case.
Happy Coding ... !!
> string similarity: a little bit easy question nlog(n) solution too works, if coded efficiently.
> permutation game: interesting problem, requires DP with memoization.
> candies: its fun to solve it. O(n) solution take 0.08 for the worst case.
Happy Coding ... !!