https://www.geeksforgeeks.org/replace-every-element-with-the-least-greater-element-on-its-right/