Hello, Rahul Prakash. Please check the Solution Template that is shown to all players. Some details there may not need to be shown to everyone. —DIV
FYI, switch-case works just like if-else.
Please prevent that as well if you hate hard-coded solutions.
@Lincoln Thank you for the note.
I will do so as well.
Test Suite needs more test cases.
Test suite updated and solutions rescored.
2519 Solvers
727 Solvers
329 Solvers
1174 Solvers
142 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!