Could not understand the editorial please provide a c++ solution with better editorial.
@shashank.21sep go through this link link. and for the dry run visit here dry run