Online Assessment on Hackerearth

Problem 1: Sub and Super Array
image
image

Problem 2: Beautiful Strings ( Backtracking solution gives TLE )
image
image

If anyone could provide a solution or explanation to these that would be great. Happy coding!!!!

Comments (4)