Complete Competitive-Coding1#1342
Conversation
Interview Problem: Find Missing Number in a sorted array (FindMissingNumberInSortedArray.swift)Your solution shows that you understand the concept of using binary search to find the missing number by comparing the difference between the value and the index. However, there are a few critical issues that need to be addressed:
To improve your solution, study the reference solution provided and adjust your code accordingly. Focus on the termination condition and the logic for moving the pointers. Also, test with various edge cases. VERDICT: NEEDS_IMPROVEMENT Interview Problem: Design Min Heap (DesignMinHeap.swift)Strengths:
Areas for improvement:
VERDICT: NEEDS_IMPROVEMENT |
Problem 1 - Find Missing Number in a sorted array
Problem 2 - Design Min Heap