DP minimum path sum
Frequently asked question: Find Duplicate from unsorted array