I could pass 576 test cases out of 600 and got stuck on 577the test case
In my opinion there should be description of why a certain test case failed
Input is 43 then output is 4
5sqr +4sqr +1sqr+1sqr
How come it is 3??
Even if we go with 6 answer is 5
6sqr +2sqr +1sqr+1sqr+1sqr
Other option by 4 also yields 5
4sqr +4sqr+3sqr +1sqr+1sqr
If we go by 3 definitely number would be much bugger and we can't go by 7
I challenge this test case
Now I am stuck on 67 .Correct answer stated is 3
What is correct answer
I tried all combinations with no luck
This method of hiding test cases is not good
I lose points every time I submit solution .
and I am again in dark
66 +55 +22 +11
55 +77 +1+1+1
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.