Watch at 1.25x or 1.5x
In this Video, i have explained the solution of Special Array With X Elements Greater Than or Equal X problem. Here, i have explained the solution using sorting and the optimize further using counting sort. You can learn how to implement and analyze the time and Space complexity.
Solution and Explaination of Leetcode POTD:
Question: leetcode.com/problems/special...
Using Sorting
Solution1: leetcode.com/problems/special...
Using Counting Sort
Solution2: leetcode.com/problems/special...
0:00 Understanding the Question
01:10 Building Intution
09:40 Approach
11:30 Implementation
17:00 Time and Space Complexity
18:15 Another Approach
26:18 Implementation
29:15 Time and Space Complexity
#dsa #sorting #arrays #leetcodeeasy #leetcodemedium #leetcode #array #binarysearch #lowerbound #leetcodepotd #leetcode #leetcodetoday #StudentAttendanceRecordII #potd #todaypotd #SpecialArrayWithXElementsGreaterThanorEqualX #leetcodechallenge #leetcodesolutions #LeetCode552 @CodeWithARB
Негізгі бет Special Array With X Elements Greater Than or Equal X (LeetCode 1608) (2 Approaches)
Пікірлер