+ 16
Code Upgrade [Challange]
Hey, A nice challange to keep you busy âș Find a old code that you made when you started learning and give it an upgrade by reducing code or improving output showing both versions. Use "V2" in your code name to show new version. Heres my attempt. https://code.sololearn.com/c7pzdy4lk3oi/?ref=app https://code.sololearn.com/cwGSd46Gdl8l/?ref=app Have Fun!
7 Answers
+ 8
Here is one that I wrote on the same day. V2 is just way more generic than V1
https://code.sololearn.com/cHCbBL9QFZij/?ref=app
https://code.sololearn.com/c3cbSGib6xb4/?ref=app
+ 4
First Program: https://code.sololearn.com/cReYM5p71bDU/?ref=app
Remastered: https://code.sololearn.com/cBxw6fZVHbHs/?ref=app
+ 4
https://code.sololearn.com/cCBxT74yQ6pB/?ref=app
https://code.sololearn.com/crXFy221OtHP/?ref=app
+ 2
https://code.sololearn.com/c51oMyVHsGkK/#py
the function isDiag_V2 is faster than isDiag.
+ 2
Here is my code
https://code.sololearn.com/cnKRtCKgsv0M/#cpp
0
https://code.sololearn.com/W2J8H89mUb07/?ref=app
https://code.sololearn.com/Wxc4cPBg5ZOo/?ref=app