ARRANGE -Arranging Amplifiers | SPOJ Question | Greedy | Love Babbar DSA Sheet | Amazon 🔥 | Yogesh

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • #greedy #competitiveprogramming #coding #dsa
    Hey, Guys in this video I have explained with code how we can solve the problem 'ARRANGE -Arranging Amplifiers'.
    CODE-- ideone.com/Vcx42u
    Join our Telegram Channel for more Information
    🔰 Telegram Channel Link = t.me/CodeLibrary1
    🔰 Telegram Discussion Group Link = t.me/CodeLibra...
    🔰 Get 10% OFF on all GeeksforGeeks Courses
    Coupon Code = CODELIBRARY
    🔰 Array Playlist = • Love Babbar DSA 450 Qu...
    🔰 String Playlist = • Love Babbar DSA 450 Qu...
    🔰 Searching and Sorting Playlist = • Love Babbar DSA 450 Qu...
    🔰 Binary Tree Playlist = • Love Babbar DSA 450 Qu...
    🔰 Linked List Playlist = • Love Babbar DSA 450 Qu...
    🔰 Graph Playlist = • Love Babbar DSA 450 Qu...
    🔰 Dynamic Programming Playlist = • Love Babbar DSA 450 Qu...
    🔰 Informative Videos = • Informative Videos
    🔰 Love Babbar DSA Sheet: drive.google.c...
    Follow us on Instagram:
    🔰 Shailesh Yogendra : / shaileshyogendra
    🔰 Yogesh Yogendra : / i_am_yogesh_here
    Follow us on LinkedIn:
    🔰 Yogesh Yogendra : / yogesh-yogendra-26bbb518a
    🔰 Shailesh Yogendra : / shailesh-yogendra-8b13...
    Hope you like it. Comment if you have any doubt
    LIKE | SHARE | SUBSCRIBE

Комментарии • 27

  • @JGyanRaj
    @JGyanRaj 3 года назад +2

    With ur excellent explanation. U made this question very easy. 🎉🎉

  • @allwell8570
    @allwell8570 3 года назад

    Thanks

  • @nishantabhishek8199
    @nishantabhishek8199 10 месяцев назад

    lets take 2 3 4 as an example. your answer will give 4 3 2 as result. But correct answer should be 4 2 3. Therfore I think the problem statement might have some issue.

    • @ktprasanth007
      @ktprasanth007 3 месяца назад +1

      No I thought the same way but what we forget is while calculating 4 3 2 -> 2^3^4, we first calculate 3^4 then we calculate 2^81 which is very larger than 4 2 3 -> 3^2^4 which is 3^16. So whatever they are doing in the question is correct!

  • @ravulaakhilsurya8569
    @ravulaakhilsurya8569 3 года назад +1

    Bro make video on which type of algorithms are used for which type of questions 🙏🙏🙏

  • @34_harshdeepraghuwanshi98
    @34_harshdeepraghuwanshi98 3 года назад

    Thanks 👍

  • @itsjaypatel
    @itsjaypatel 3 года назад

    please make video on k centers problem

  • @swapnildhiman6585
    @swapnildhiman6585 3 года назад +1

    shouldn't 1 1 1 5 4 3 is the correct answer instead of 1115432 ?

  • @yashpatil394
    @yashpatil394 3 года назад +1

    2 2 3 ka correct output 2 3 2 hona chahiye na!! but 3 2 2 aa rha hai

  • @gautam4696
    @gautam4696 2 года назад

    yeah asaan tha

  • @sharuk3545
    @sharuk3545 3 года назад

    bhai in sb question me while loop q use krte h

  • @nitinkumar5974
    @nitinkumar5974 3 года назад

    Bhai dp ki playlist poori ho gayi hai kya??

  • @abhinavagrawal6148
    @abhinavagrawal6148 3 года назад +1

    Cost kya hai iski bro

  • @sharuk3545
    @sharuk3545 3 года назад

    bhai isme agr zero aya in between to wo case kse krege coding ninja pr same yhi question h alg name se but jb wha sinmit kr rha hu to 0 wla case me prblm bta rha h

  • @yogendrasrivastava3850
    @yogendrasrivastava3850 3 года назад

    I am doing cp from 6 months with python..but after watching many coders were doing cp with C++..I am comfortable with python..should I need to switch to C++..please help

    • @CodeLibrary
      @CodeLibrary  3 года назад

      You can continue with python as well

  • @nayanbhuyan8156
    @nayanbhuyan8156 3 года назад +1

    You have completed the DSA cracker sheet so, are you confident that you can crack amazon?
    I am also trying to complete the sheet with the help of your videos
    Please answer the question?
    -A student of NITS