This month’s long challenge editorials are not out yet. Hence, I would like to invite you all to vote for 2 problems, for which I will be making video editorials.
You explain the method and algorithm very nicely!! I was just wondering if its possible that you can also give a reference code based on that? Last time when i solved KBIGNUM, the reference code was my saviour which pointed out at my incorrect implementation, and made it easier to grasp the concept. If you can give some time to it, I (And many others!) will appreciate it