0

Efficient way?

So I wrote this code and it works absolutely fine the thing is I think the code.is too big for such a problem. Can anyone suggest/write this code in a more efficient way. https://code.sololearn.com/cOISB3sWRqDj/?ref=app

3rd May 2020, 8:12 PM
Akash
Akash - avatar
1 Antwort
+ 1
This is already simple. Remember, efficient doesn't mean less code. 😃
4th May 2020, 11:20 AM
Amey Bhavsar
Amey Bhavsar - avatar