https://practice.geeksforgeeks.org/problems/delete-nodes-having-greater-value-on-right/1