I recently came across [this question](http://https://codeforces.com/problemset/problem/1859/D) and I was unable to solve this.↵
↵
In order to practice the concept used in this question, please suggest some more questions.
↵
In order to practice the concept used in this question, please suggest some more questions.