Mock Interview 1 | Missing element in a sorted array from a list of N…#1334
Mock Interview 1 | Missing element in a sorted array from a list of N…#1334sandy7907 wants to merge 1 commit intosuper30admin:masterfrom
Conversation
|
Strengths:
Areas for Improvement:
Suggested corrected code: This corrected code will work because when the loop ends, low will be the index where the first inconsistency occurs, and the missing number is low+1. |
|
Strengths:
Areas for Improvement:
So the corrected code is: |
…atural numbers