The constraint is 10^4 so brute force O(n^2)approach will take 10^8 so brute force will work. So I am trying to implement brute force way but brute force is failing in 10 teatcase. Can you implement the brute force approach and share the code in the description of this video🐥
Good Explanation di.... please keep more videos for leetcode😊😊😊
keep uploading videos regularly
I will try my best
Mam language kaun se use kar dahi h plz do in c++
Java
Please upload the code link
The constraint is 10^4 so brute force O(n^2)approach will take 10^8 so brute force will work. So I am trying to implement brute force way but brute force is failing in 10 teatcase. Can you implement the brute force approach and share the code in the description of this video🐥