You are viewing a single comment's thread. Return to all comments →
If you don't like 1 line solutions, here is a similar Java Solution that uses the same concept but is easier to read.
From my HackerRank solutions.
Sherlock and Squares
You are viewing a single comment's thread. Return to all comments →
If you don't like 1 line solutions, here is a similar Java Solution that uses the same concept but is easier to read.
From my HackerRank solutions.