August Cook-off - "Different String" is directly copied from Leetcode!

Today’s cook-off : Contest Page | CodeChef
Today’s weekly contest :

1 Like

The problem is really trivial. Also, constraints differ in both problems.

Constraints are different just to make fool… O(N) solution is possible… i literally submitted by Leetcode contest solution and it passed coz it was linear solution… didn’t expected such a direct copy of problem from leetcode xD