Shortest Unsorted Continuous Subarray | O(1) space and O(N) time🔥🔥| Two Pointer | C++ | LeetCode 581

Опубликовано: 31 Октябрь 2024
на канале: Gantavya Malviya
33
1

Here is the solution to the "Shortest Unsorted Continuous Subarray" leetcode question. Hope you have a great time going through it.

Question: https://leetcode.com/problems/shortes...

1) 0:00 Explaining the problem and Example
2) 2:26 Coding in CPP
4) 9:40 Time and Space Complexity

For discussion/feedback
Join the telegram discussion group: https://telegram.me/codemistic

P.S.: Please increase the speed to 1.25X

-------------------
Groww --- Start investing in Stocks and Direct Mutual Funds on Groww. Get instant Rs.100 in your Groww account: https://bit.ly/groww100rs

CoinSwitch Kuber --- Crypto is affordable with CoinSwitch. Buy and sell Bitcoin and other Crypto with just Rs.100 on CoinSwitch, India's largest Crypto app!
Download CoinSwitch using this link and get Rs. 50 worth BTC free: https://coinswitch.co/in/refer?tag=bZXuV

Tags :
Shortest Unsorted Continuous Subarray C++
Shortest Unsorted Continuous Subarray Leetcode Solution
#interview #coding #placements #programming #competitiveprogramming