[Marc Folch] lab-functions#5
[Marc Folch] lab-functions#5marcfolchp wants to merge 1 commit intoIronhack-data-bcn-oct-2023:mainfrom
Conversation
|
Marc, Some comments: On question 2, your function passes the test but there is a case were setting largest=0 would create some issues: when your array has only negative numbers. If you run: A way to deal with this cases is to set On question 5, you could simplify your code by calling the functions you created on the previous two questions: On question 12, when naming variables, try using names that show more clearly what each variable is: instead of If you test your function running something like: Here is how your code would be without that extra sorting: |
No description provided.