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

0% completed

Vote For New Content
Would it be correct in the floor solution to return either end or mid outside th...

Ivy

May 10, 2022

Would it be correct in the floor solution to return either end or mid outside the loop? Since integer division "rounds down" so end and mid should always be equivalent by that point.

0

0

Comments
Comments

On this page