found a neat solution to solve different problem related to reverse linked list
hard and tricky DP problems...
easy one
easy one with DFS
intervals