+ 1
Code Coach solution structure?
How do we structure the solutions in Code Coach, I am a CodeWars, Hackerrank coder, How do we structure the solution to submit? In terms of input, data formats etc..?
2 Antworten
+ 4
William Mabotja do you means the constraints to solve the problem statement? If yes than here the constraints are not that strict like hackerrank or codewars but as it an online platform so larger input for recursive function or big number iteration can give you error of memory limit and time limit so as much possible use same approach you'll easily able to solve code coaches. For big cases you can change the data type to long or unsigned int according to need.
Here codes are easy so you can get them solve easily as difficulty level of code coaches is lesser than mentioned platform codewars or hackerrank.
+ 1
Thanks, I was referring to Java Solutions. I've noticed that they're using Scanner to grab input. Does that mean I am responsible for capturing test case input? Don't I just write the function like on CodeWars?