For video solutions check my youtube channel: https://www.youtube.com/channel/UCDEbE7je2ruoILU1S0c4sJA
Check the different branches for the different sections of the cses problem sections I have uploaded my code for the problems and if you want explaination then refer to the channel.