Solved using Quick Sort
Solved only for decimal numbers (radix = 10)
Intuition as follows :
Maximum of MoneyGathered[0 to n-1 house] OR MoneyGathered[0 to n-2 house] + MoneyAt[n th house]
2 implementations :
- Using Forward list from STL
- CStyle linked list