Completed Binary Search 1#2501
Conversation
Search inside a Rotated Sorted Array (Problem1.py)Looking at this evaluation, I need to assess the student's solution against the given problem about searching in a rotated sorted array. Critical IssueThe student solved the wrong problem. The problem title and description clearly state this is about searching in a Rotated Sorted Array (LeetCode #33), but the student's code solves the Search a 2D Matrix problem (LeetCode #74). The reference solution uses a modified binary search that handles the rotated array by determining which half is sorted at each step. The student's solution treats a 2D matrix as a 1D array and searches for a target value, which is completely different from the rotated array problem. Evaluation
FeedbackStrengths:
Areas for Improvement:
What you should do:
The code quality is good, but the solution does not address the given problem. You need to implement the correct algorithm for searching in a rotated sorted array. VERDICT: NEEDS_IMPROVEMENT Search Inside a Sorted Array whose Length is unknown (Problem2.py)
VERDICT: NEEDS_IMPROVEMENT Search a 2D Matrix (Problem3.py)Strengths:
Weaknesses:
What was needed:
Recommendation: VERDICT: NEEDS_IMPROVEMENT |
No description provided.