MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/code/comments/1x2xghq/insertion_sort/
r/code • u/East_Nerve5155 • 5d ago
Hello!! First time on here. I'm a beginner at coding and was wondering if someone with more coding experience could confirm if my insertion sort implementation is correct. I ran it ofc but i just wanted to make sure it's 100% correct!!
code (python):
2 comments sorted by
2
Variable j is unnecessary. Just do for I in range(n)
1 u/East_Nerve5155 4d ago thank you so much!! much appreciated :)
1
thank you so much!! much appreciated :)
2
u/kutac56 4d ago
Variable j is unnecessary. Just do for I in range(n)