Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
I always find my solutions look quite different in terms of internal comparisons...

Pete Stenger

Aug 30, 2022

I always find my solutions look quite different in terms of internal comparisons than the solution... is that OK?

def solve(arr): start, end = 0, len(arr) - 1 if arr[start] < arr[end]: return 0 while start

0

0

Comments
Comments

On this page