Peak Index in Mountain Array | Binary Search | Leetcode 852

Поділитися
Вставка
  • Опубліковано 9 жов 2024

КОМЕНТАРІ • 226

  • @ApnaCollegeOfficial
    @ApnaCollegeOfficial  8 днів тому +44

    How is your progress going, this is #Lecture19 DSA series.
    After completing this lecture, comment DONE!
    (by the end of this series you should have marked over 200+ "DONE")

    • @Rehan.........
      @Rehan......... 8 днів тому

      Like DSA is same for both c++ and java or there will be some different topics which are not related to java?????????

    • @Rehan.........
      @Rehan......... 8 днів тому

      Mam please answer

    • @abdulroufshaik123
      @abdulroufshaik123 8 днів тому +2

      Brother it is same for c++ and java just the syntax will change . All the topics will be the same

    • @PrashChandra71
      @PrashChandra71 8 днів тому +1

      Done Lecture Today❤

    • @Dinesh-u8z6u
      @Dinesh-u8z6u 7 днів тому +1

      mam please also update dsa sheet these problems are not marked there

  • @rahulgandla4948
    @rahulgandla4948 4 дні тому +3

    Oh my God! I'm loving all your explanations.They make the problems so easy to understand. Hindi mein solutions kuch alag feel aati hai!

  • @ytSomdattGupta
    @ytSomdattGupta 3 дні тому +2

    Done. Today I solved first question from my own with O(log n) TC. I took me around 1 hours and some error fixing. For the errors I browse from internet and also take help from mam's lecture after solving the question. Thank you shraddha mam and apna college from this great understandable learning experience 🤗🤗

  • @Ab-rr9ul
    @Ab-rr9ul 8 днів тому +16

    Really Great videos. Able to understand.Thanks 🙏🙏

    • @ayushalekar4262
      @ayushalekar4262 8 днів тому

      Video didn't even end

    • @ayushalekar4262
      @ayushalekar4262 8 днів тому

      How did u watch 22m video in 4m

    • @Ab-rr9ul
      @Ab-rr9ul 8 днів тому

      ​@@ayushalekar4262 dude I didn't not mention about this specific video

  • @abhimanyutiwari
    @abhimanyutiwari 6 днів тому +2

    Mindblowing logic & way of teaching . Really a big fan of u 😇

  • @radhakrishnamallidi772
    @radhakrishnamallidi772 7 днів тому +1

    Feel like solving this type of problems(triangle) are useful to stay focused. Also solving multiple problems on a data structure(Arrays) with single algorithm(modified) build confidence.

  • @saiprasadrao5402
    @saiprasadrao5402 8 днів тому

    int peakIndexInMountainArray(vector& arr) {
    auto peak = max_element(arr.begin(), arr.end());
    return distance(arr.begin(), peak);
    }

  • @RiteshWaghamale-nk5hd
    @RiteshWaghamale-nk5hd 7 днів тому +5

    Lecture 19 : Done
    You make this hard problem super easy . I solve this in my first attempt

  • @admissionvibes
    @admissionvibes 8 днів тому +1

    All Power is Within You; You Can Do Anything And Everything - It Motivates me on Every Lecture.
    ThankYouuuuuu ✨

  • @AiTrailerVault
    @AiTrailerVault 7 днів тому +2

    advance congratulations for 6 million subscribers 👏👏

  • @chiragkori-c3d
    @chiragkori-c3d 8 днів тому +1

    Mam it is the best channel under your guidance

  • @MoNiL_DeVLuK1111
    @MoNiL_DeVLuK1111 5 днів тому +1

    L-19 DONE 🚀

  • @likitha2005
    @likitha2005 9 годин тому +1

    Day-19 Done ✅

  • @MohdZiyan379
    @MohdZiyan379 8 днів тому +2

    Great effort ❤

  • @CuriousIndian-ze7tj
    @CuriousIndian-ze7tj 7 днів тому +1

    Congrats didi for surpassing 6M subs on UA-cam ❤❤

  • @PrabhashYadav90
    @PrabhashYadav90 8 днів тому +2

    Thanks for learning DSA lecture 19 like ❤👍👍

  • @DIBYENDU_MALLICK
    @DIBYENDU_MALLICK День тому +1

    Complete ✔️

  • @RANA_SARKAR4
    @RANA_SARKAR4 7 днів тому +1

    Congratulation for 6m family🎉🎉

  • @M..36995
    @M..36995 8 днів тому

    Ma''am provides good questions to us
    Thankyou for this series from deep of my heart😊

  • @adityasingh3365
    @adityasingh3365 8 днів тому

    Completed Lecture19;
    Thankyou Mam;

  • @metrocitydelhi5498
    @metrocitydelhi5498 6 днів тому +1

    thank you ma'am😊

  • @Afreen_pinjari
    @Afreen_pinjari 8 днів тому +1

    Nice explanation

  • @tanishqvishwakarma9518
    @tanishqvishwakarma9518 7 днів тому +1

    Done 👍
    Thank you didi 😊

  • @anishalam9648
    @anishalam9648 8 днів тому

    har roj aapki videos ka intezar rahta hai mam

  • @Sunnychaudhary5609
    @Sunnychaudhary5609 7 днів тому +1

    done mam superb class

  • @solocoder2783
    @solocoder2783 8 днів тому

    Beautifully explained 🥺♥️

  • @R4s311
    @R4s311 7 днів тому +1

    Advance cong..on 6M subs

  • @Code_with_sanjip
    @Code_with_sanjip 7 днів тому

    Completed ma'am . Thanks ma'am for a best explanations on each and every concept for both easy and hard concept . Really ma'am your explanation is so good to understand . Thanks you ma'am 🥰❤

  • @RadhikaAnkolnerkar
    @RadhikaAnkolnerkar 8 днів тому

    Successfully complete today's lecture 😸❤

  • @vvegoku_op7632
    @vvegoku_op7632 7 днів тому +1

    Completed!!

  • @Imortexm
    @Imortexm 8 днів тому +1

    Thankyou mam 👍

  • @vishnuvardhan2687
    @vishnuvardhan2687 7 днів тому

    Successfully completed ✅ Day 19 lecture thank you shradha maam for your guidance and valuable lectures to us 😊😊😊
    02/10/2024

  • @Mubeenkhan07-x4u
    @Mubeenkhan07-x4u 8 днів тому

    Thanks didi we can learn alot from you ❤❤

  • @GS.Targetlife
    @GS.Targetlife 8 днів тому

    Aapna college best coding approvel 🎉🎉

  • @pushprajgupta1604
    @pushprajgupta1604 8 днів тому

    Done. Thank you so much.

  • @Shaswat_Shrivas
    @Shaswat_Shrivas 7 днів тому

    Day 19 Completed!

  • @Intelli_Jayant
    @Intelli_Jayant 8 днів тому

    Completed this lecture

  • @arbazofficial1228
    @arbazofficial1228 8 днів тому

    Dharo duva apka lya 😊❤

  • @Echo-Horizons
    @Echo-Horizons 3 дні тому +1

    Done

  • @dashboard9876
    @dashboard9876 8 днів тому

    1 suggestion you can slides to provide notes related to particular topics

  • @souravbhattacharya7927
    @souravbhattacharya7927 7 днів тому

    complete ..........
    Thanks a lot, didi.....................

  • @arbazofficial1228
    @arbazofficial1228 8 днів тому +1

    Api are you great
    Masha'Allah bhot hi khub

  • @alvinbenedict8998
    @alvinbenedict8998 6 днів тому +1

    day 19 completed

  • @CineCrave_Sriese-t6e
    @CineCrave_Sriese-t6e 6 днів тому

    lecture complete 👍👍

  • @PiyushKumar-q3j2q
    @PiyushKumar-q3j2q 3 дні тому

    completed lecture 19 successfully

  • @NityanondaBarman
    @NityanondaBarman 8 днів тому +4

    Please nodejs one shot please, and mongodb

  • @ApurvSahu-s4m
    @ApurvSahu-s4m 6 днів тому

    Lecture 19 Done

  • @CoderMotivation
    @CoderMotivation 7 днів тому

    Lecture 19 completed ❤

  • @saranshgupta08
    @saranshgupta08 7 днів тому

    Completed ✅

  • @proCoderShivam
    @proCoderShivam 7 днів тому

    #Lecture19 DONE!

  • @dakshjain6673
    @dakshjain6673 День тому

    Completed..!

  • @abdulroufshaik123
    @abdulroufshaik123 8 днів тому +1

    DONE! ❤

  • @kstorm_network_official
    @kstorm_network_official 8 днів тому +1

    Done 😊

  • @SagarMaheshwariS
    @SagarMaheshwariS 8 днів тому

    Day 19 completed ✅

  • @VarunJain-ii1mn
    @VarunJain-ii1mn 8 днів тому

    Completed ❤❤

  • @earthlinkdesignersedtech3531
    @earthlinkdesignersedtech3531 7 днів тому

    Done Lecture-19 completed 💪🔥🔥

  • @mrmeena8949
    @mrmeena8949 8 днів тому

    Thank you mam 👍

  • @PRASHANTSHRINGI
    @PRASHANTSHRINGI 7 днів тому

    Leacture 19 DONE

  • @rajdeepraj624
    @rajdeepraj624 7 днів тому +1

    Completed 🦺

  • @Akashverma-bb7ly
    @Akashverma-bb7ly 3 дні тому

    Done ma'am ❤

  • @MohdZiyan379
    @MohdZiyan379 8 днів тому +1

    Ma'am create this series....
    the best of all DSA Series ❤❤

  • @Ak_YouTube_creater
    @Ak_YouTube_creater 8 днів тому

    Great 👍

  • @azharalibhutto1209
    @azharalibhutto1209 8 днів тому

    Amazing ❤❤❤❤❤❤❤

  • @Indian-cx5is
    @Indian-cx5is 8 днів тому

    Thank u ❤🎉😊

  • @ssk4875
    @ssk4875 3 дні тому

    completed 😇

  • @ayushjha1595
    @ayushjha1595 5 днів тому

    Lec 19 completed

  • @SushilaTripathi-i3z
    @SushilaTripathi-i3z 8 днів тому

    Completed

  • @ravishkumar3758
    @ravishkumar3758 8 днів тому

    Thanks didi ❤❤❤

  • @AnujYadav-li7yb
    @AnujYadav-li7yb 8 днів тому

    Done ma'am

  • @Vikas-x4c
    @Vikas-x4c 8 днів тому +1

    Mam I follow ur JavaScript class

  • @Devil-j2f4f
    @Devil-j2f4f 8 днів тому

    Thanks mam

  • @PRASHANTSHRINGI
    @PRASHANTSHRINGI 7 днів тому

    All leacture are completed

  • @PRAGYASINGH-ng9vg
    @PRAGYASINGH-ng9vg 8 днів тому

    done today's lecture

  • @chandramauleshwarupadhyay3160
    @chandramauleshwarupadhyay3160 8 днів тому

    ❤❤Oct 1 ❤❤ done mam

  • @nabinbista12
    @nabinbista12 5 днів тому

    Completed on 4 october 2024, 9:52:00 pm.

  • @asnighoshdastider1971
    @asnighoshdastider1971 7 днів тому

    DONE!!😌

  • @alekhyagns8997
    @alekhyagns8997 7 днів тому

    Could you make vedeos on how people in job market upskill themselves

  • @ratansharma117
    @ratansharma117 8 днів тому

    Best video

  • @sanyagupta1624
    @sanyagupta1624 8 днів тому

    done
    with lect 19

  • @Abhi_Singh-_-4
    @Abhi_Singh-_-4 8 днів тому +2

    Lecture 19 completed. 2:40am, 02/10

  • @mrmeena8949
    @mrmeena8949 8 днів тому +1

    Done ✅

  • @thakurtech0167
    @thakurtech0167 5 днів тому

    "Done"

  • @RahulJain-o4v
    @RahulJain-o4v 3 дні тому

    Great

  • @NityanondaBarman
    @NityanondaBarman 8 днів тому

    Your classes is very good, I love it your understanding skills, please nodejs one shot please and mongodb, I hope you see my SMS , I waiting for nodejs classs

  • @naveennithin2075
    @naveennithin2075 8 днів тому

    Nice mam ❤

  • @nukhaimongmarma5789
    @nukhaimongmarma5789 4 дні тому

    DONE!

  • @nikasharyan07
    @nikasharyan07 7 днів тому +2

    New topic : learn skills with average phone.
    Please make a video in this topic Shraddha Mam 😢😢😢😢😢😢😢😢😢

    • @mrmiranguy
      @mrmiranguy 7 днів тому +2

      Mam where are notes😢

    • @nikasharyan07
      @nikasharyan07 4 дні тому +1

      ​@@mrmiranguy ooi behan mai mam nhi hu

  • @dipanshuraj7868
    @dipanshuraj7868 7 днів тому

    Mam, some of the students who are not able to code in this approach (brute force)
    So, can you just code for this approach.
    It helps all the students.
    Whenever we solving any problem our first approach be brute force then we thought optimal solution.
    So, please solve my query.

  • @SuperSubhankar007
    @SuperSubhankar007 2 дні тому

    Just another solution - This problem can be solved by using a maxheap as well. Time complexity o(n)

  • @anahitabhooshan8003
    @anahitabhooshan8003 7 днів тому

    Make also DSA project
    Like sorting Visualize
    Those students want DSA project like thooko

  • @salmanmehmood470
    @salmanmehmood470 8 днів тому

    Nice 🙂

  • @solocoder2783
    @solocoder2783 8 днів тому +1

    Like tho bantha hnn 🎉

  • @Unstoppablelad
    @Unstoppablelad 8 днів тому +2

    Dsa❤

  • @nafizakhanomnova
    @nafizakhanomnova 8 днів тому +1

  • @SahilChaudhari-832
    @SahilChaudhari-832 8 днів тому +1

    Present mam 🙏😁🙏😁

  • @TejasDharmale-u6y
    @TejasDharmale-u6y 3 дні тому

    is it same as search in rotated array one side is sorted bcoz

  • @Flyingheart-17
    @Flyingheart-17 8 днів тому

    completed in 1hour after uploading

  • @satyanarayanrout3585
    @satyanarayanrout3585 7 днів тому

    Done👍👍

  • @SunidhiYele
    @SunidhiYele 7 днів тому

    2/10/24
    lecture 19 completed successfully

  • @ravishkumar3758
    @ravishkumar3758 8 днів тому +1

    Attendance here 🎉