Hi I hope you were able to understand the problem solution. Here are a few links for you to check out.
Problem Statement : https://practice.geeksforgeeks.org/pr...
Problem Solution : https://github.com/importlogic/gfg-po...
Subscribe and Keep Coding.
#GFG #POTD #geeksforgeeks #problemoftheday #competetiveprogramming #c++