Find Pivot Index | Leetcode 724 Solution | Searching and Sorting
Vložit
- čas přidán 2. 05. 2021
- Please consume this content on nados.pepcoding.com for a richer experience. It is necessary to solve the questions while watching videos, nados.pepcoding.com enables that.
NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. For a better experience and more exercises, VISIT: www.pepcoding.com/resources/o...
Have a look at our result: www.pepcoding.com/placements
Follow us on our FB page: / pepcoding
Follow us on Instagram: / pepcoding
Follow us on LinkedIn: / pepcoding-education
Didi 's way of teaching is op.Thankyou pepcoding.
Thankyou
I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
Fantastic explanation 👍thanks a lot mam🙏
That was clean and precise
thank you
Thank You!
Thanks didi . the way of explanation just awesome.
amazing explanation thanku so much
Thank you so much really it's helpful for us.
fantastic explanation thanks mam👌👌
awesome explanation ma'am
amazed totally..
Thank you so much ma'am :)
thanks a lot maam
Thank you 😊
Amazing!
why my code saying wrong answer?
class Solution {
public:
int pivotIndex(vector& nums) {
int size=nums.size();
int Left=0;
int Right=0;
for(int i=0; i
Thankyou so much😃
Very good explanation didi...
thanks alot ma'am
Thnaks a lot maam
Nice approach mam
Thank You Didi
Thankyou
thanks
can we write the if condition after calculating the updated value of lsum and rsum?
good content
Very good🎉🎉🎉
pepcoding is love ❤️👌👌
Thank you so much keep motivating, keep learning and keep loving Pepcoding😊
Thank you!!
keep motivating, keep learning and keep loving Pepcoding😊
Easiest Explanation
Explanation is amazing
Glad you think so! keep motivating, keep learning and keep loving Pepcoding😊
Is there any binary approch?
Amazing Explanation
Glad you liked it. For better experience and well organised content visit - nados.io
Great job mam..Awesome!
Thank you! Cheers! and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
An explanation is great but kindly discuss TC & SC of each problem.
For better experience and curated content sign up on nados.io, you can also post your queries on community tab of NADOS.
Explanation was really good.but TC and SC not mentioned... only optimal approach discussed
can pivot index be first and last index of array??
like a[0],a[n-1]?
YES
[2,1,-1] Acc. to this test case pivot index is first
First viewer😁
Yes you are!
17*
🚶
didi are u from odisha ???
Uttar pradesh native, born and brought up in Delhi 🙂
women 11+6 is 16😂😂😂😂