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