AccelerateAI Careers
AccelerateAI Careers
  • 205
  • 32 334
🔥Leetcode 84 - LARGEST RECTANGLE IN HISTOGRAM - Python #faang #leetcode #coding #python #dsa 🏆
🔥Leetcode 84 - LARGEST RECTANGLE IN HISTOGRAM - Python #faang #leetcode #coding #python #dsa 🏆
👉This question is a Hard Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Adobe Apple, Bloomberg) for their coding interview rounds.
👉 It has been asked quite frequently in last 0 - 6 months period in their interview rounds, so it is quite critical. The time complexity for this solution is O(N) in best case and O(N) in worst case scenario.
Timeline:
0:00 Introduction
0:29 Question Walkthrough
2:03 Algorithm Walkthrough
10:51 Coding
.
.
.
Related Searches:
Largest Rectangle In Histogram leetcode
Largest Rectangle In Histogram python
Largest Rectangle In Histogram
Largest Rectangle In Histogram Leetcode Hard
Largest Rectangle In Histogram Leetcode 84
Largest Rectangle In Histogram FAANG Interview
leetcode 84
leetcode 84 Largest Rectangle In Histogram
leetcode 84 Largest Rectangle In Histogram Python
data structures and algorithms
DSA
AccelerateAICareers
Amazon Interview Coding
Google Interview Coding
Microsoft Interview Coding
Meta Interview Coding
Netflix Interview Coding
Apple Interview Coding
Leetcode Questions
How I got good at Leetcode
Algorithms for Placements
How to learn leetcode problems
Faang Interviews
Python Leetcode Interview Questions
Leetcode Must Do problem List
dsa questions leetcode
Stack Questions Faang
Related Hashtags
#competitiveprogramming #dsa #dsalgo #ada #algorithm #leetcode #leetcodesolutions #leetcodequestionandanswers #leetcodequestions #leetcodesolution #leetcodethehardway #leetcodepython #python #algorithm #algorithms #datastructures #interviewquestions #amazon #google #amazoninterviewquestionsandanswers #amazoninterview #amazoninterviewpreparation #amazoninterviewquestions #googleinterview #googleinterviewquestions #softwareengineering #software #softwareengineer #softwaredeveloper #softwaredevelopment #leetcode84 #python #placements #coding #interviews #leetcodedailychallenge #leetcodesolutions #leetcodehard #largestrectangleinhistogram #largestrectangle #stack
Переглядів: 26

Відео

🔥Leetcode 81 - Search in Rotated Sorted Array II - Python - #faang interviews🏆 #coding #leetcode
Переглядів 12214 днів тому
🔥Leetcode 81 - Search in Rotated Sorted Array II - Python - #faang interviews🏆 #coding #leetcode 👉This question is a Medium Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Adobe Apple, Bloomberg) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 6 months period in their interview rounds, so it ...
🔥Leetcode 59. Spiral Matrix II - Python #faang #coding #leetcodemedium🏆 #leetcode #dsa
Переглядів 24021 день тому
🔥Leetcode 59. Spiral Matrix II - Python #faang #coding #leetcodemedium🏆 #leetcode #dsa 👉This question is a Medium Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Adobe Apple, Bloomberg) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 6 months period in their interview rounds, so it is quite c...
🔥Leetcode 52. - N Queens II - Python #faang #coding #faang #leetcodehard🏆
Переглядів 44Місяць тому
🔥Leetcode 52. - N Queens II - Python #faang #coding #faang #leetcodehard🏆 👉This question is a Hard Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Salesforce, Apple, Bloomberg) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 6 months period in their interview rounds, so it is quite critical. ...
🔥Leetcode 47 - Permutations II - Backtracking #faang #leetcode 🥇 #coding #codinginterviews
Переглядів 31Місяць тому
🔥Leetcode 47 - Permutations II - Backtracking #faang #leetcode 🥇 #coding #codinginterviews 👉This question is a Medium Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Salesforce, Apple, Bloomberg) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 3 months period in their interview rounds, so it ...
🔥Leetcode 120 - Triangle - Python - (DP) Dynamic Programming #faang #leetcode #coding🏆 #python
Переглядів 73Місяць тому
🔥Leetcode 120 - Triangle - Python - (DP) Dynamic Programming #faang #leetcode #coding🏆 #python 👉This question is a Medium Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Salesforce, Apple, Bloomberg) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 3 months period in their interview rounds, so...
🔥Leetcode 1603 - Design Parking System - Python #faang #coding #leetcode🥇#python
Переглядів 151Місяць тому
🔥Leetcode 1603 - Design Parking System - Python #faang #coding #leetcode🥇#python 👉This question is an Easy Level problem and an all-time favourite for FAANG & other companies (specifically, Amazon, Google, Microsoft, Meta, Oracle, Salesforce, Apple, Uber) for their coding interview rounds. 👉 It has been asked quite frequently in last 0 - 3 months period in their interview rounds, so it is quite...
🔥Leetcode 706 - Design Hashmap - Python #faang interview🏆 #coding #dsa #leetcode #codinginterview
Переглядів 20Місяць тому
🔥Leetcode 706 - Design Hashmap - Python #faang interview🏆 #coding #dsa #leetcode #codinginterview
🔥Leetcode 746. Min Cost Climbing Stairs - Dynamic Programming - Python #faang🥇#coding
Переглядів 38Місяць тому
🔥Leetcode 746. Min Cost Climbing Stairs - Dynamic Programming - Python #faang🥇#coding
🔥Leetcode 739. Daily Temperatures - Monotonic Stack - Python #faang 🏆#coding #leetcode
Переглядів 70Місяць тому
🔥Leetcode 739. Daily Temperatures - Monotonic Stack - Python #faang 🏆#coding #leetcode
🔥Leetcode 145. Binary Tree Postorder Traversal - Python #faang 🏆#leetcode #coding #codinginterviews
Переглядів 292 місяці тому
🔥Leetcode 145. Binary Tree Postorder Traversal - Python #faang 🏆#leetcode #coding #codinginterviews
🔥Leetcode 1209. Remove All Adjacent Duplicates in String II - Python #faang interviews🥇#coding
Переглядів 442 місяці тому
🔥Leetcode 1209. Remove All Adjacent Duplicates in String II - Python #faang interviews🥇#coding
🔥 Leetcode 162 - Find Peak Element - Python #faang #leetcode🏆 #coding #jobinterviewquestions
Переглядів 432 місяці тому
🔥 Leetcode 162 - Find Peak Element - Python #faang #leetcode🏆 #coding #jobinterviewquestions
🔥Leetcode 227 - Basic Calculator II - Python - O(1) space, O(N) time solution #faang interviews🚀
Переглядів 412 місяці тому
🔥Leetcode 227 - Basic Calculator II - Python - O(1) space, O(N) time solution #faang interviews🚀
🔥Leetcode 169 | Majority Element | Python #leetcodesolutions #faang interviews🏆
Переглядів 502 місяці тому
🔥Leetcode 169 | Majority Element | Python #leetcodesolutions #faang interviews🏆
🔥Leetcode 1268 Search Suggestions System - Python #faang interview🏆#leetcode #coding #codingtutorial
Переглядів 252 місяці тому
🔥Leetcode 1268 Search Suggestions System - Python #faang interview🏆#leetcode #coding #codingtutorial
🔥Leetcode 1011 - Capacity to Ship Packages within D Days - Python #faang interviews #leetcode🚀
Переглядів 272 місяці тому
🔥Leetcode 1011 - Capacity to Ship Packages within D Days - Python #faang interviews #leetcode🚀
🔥Leetcode 670. Maximum Swap - Medium - Python #Faang interviews🥇 #leetcode #leetcodedailychallenge
Переглядів 332 місяці тому
🔥Leetcode 670. Maximum Swap - Medium - Python #Faang interviews🥇 #leetcode #leetcodedailychallenge
🔥Leetcode 921. Mimimum Add to Make Parantheses Valid - Medium - Python #Faang interview🏆#leetcode
Переглядів 462 місяці тому
🔥Leetcode 921. Mimimum Add to Make Parantheses Valid - Medium - Python #Faang interview🏆#leetcode
🔥Leetcode 221. Maximal Square - Python - Top Down Memoization #faang interviews🏆 #leetcode
Переглядів 553 місяці тому
🔥Leetcode 221. Maximal Square - Python - Top Down Memoization #faang interviews🏆 #leetcode
🥇Leetcode 962. Maximum Width Ramp - Python - Medium #Faang interviews🔥 #leetcode #slidingwindow
Переглядів 563 місяці тому
🥇Leetcode 962. Maximum Width Ramp - Python - Medium #Faang interviews🔥 #leetcode #slidingwindow
🔥Leetcode 380. Insert Delete GetRandom O(1) - Python #faang Interviews🚀 #leetcode #coding
Переглядів 963 місяці тому
🔥Leetcode 380. Insert Delete GetRandom O(1) - Python #faang Interviews🚀 #leetcode #coding
🔥Leetcode 179. Largest Number - Medium - Python #FAANG Interview Questions🚀 #coding #leetcode
Переглядів 2683 місяці тому
🔥Leetcode 179. Largest Number - Medium - Python #FAANG Interview Questions🚀 #coding #leetcode
🔥Leetcode 264. Ugly Number II - Medium - Python #FAANG last month #codinginterviews 🥇 #leetcode
Переглядів 1274 місяці тому
🔥Leetcode 264. Ugly Number II - Medium - Python #FAANG last month #codinginterviews 🥇 #leetcode
🔥Leetcode 118. Pascal's Triangle - Python #FAANG Interview Questions🏆 #coding #leetcodesolutions
Переглядів 1054 місяці тому
🔥Leetcode 118. Pascal's Triangle - Python #FAANG Interview Questions🏆 #coding #leetcodesolutions
🔥Leetcode 904. Fruits Into Baskets - Medium - Python #FAANG Interview Questions🚀
Переглядів 464 місяці тому
🔥Leetcode 904. Fruits Into Baskets - Medium - Python #FAANG Interview Questions🚀
🔥Leetcode 472. Concatenated Words - HARD - Python #FAANG Last 1 month interview questions!!🏆#coding
Переглядів 344 місяці тому
🔥Leetcode 472. Concatenated Words - HARD - Python #FAANG Last 1 month interview questions!!🏆#coding
🔥 Leetcode 93. Restore IP Addresses - Python #faang #coding #codinginterviews 🚀
Переглядів 714 місяці тому
🔥 Leetcode 93. Restore IP Addresses - Python #faang #coding #codinginterviews 🚀
🔥Leetcode 1105. Filling Bookcase Shelves - #python #faang #coding 🚀 #codinginterviewquestions
Переглядів 404 місяці тому
🔥Leetcode 1105. Filling Bookcase Shelves - #python #faang #coding 🚀 #codinginterviewquestions
🔥Leetcode 279. Perfect Squares - Python #faang #salesforce #coding interviews🚀
Переглядів 314 місяці тому
🔥Leetcode 279. Perfect Squares - Python #faang #salesforce #coding interviews🚀

КОМЕНТАРІ

  • @SadarHussain-m7w
    @SadarHussain-m7w 8 днів тому

    Dont make us understand the question make us understand the answer logic and code we already know the quesiton that's we are here

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

      Refer to the full video solution - This is just an introductory shorts to the question. In the full video , both solution algorithm and code has been explained.

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

      Here’s the link to the full video solution - ua-cam.com/video/iT-OAsgWueY/v-deo.html

  • @roshanveeram476
    @roshanveeram476 21 день тому

    It was excellent

  • @mraj4j
    @mraj4j 2 місяці тому

    Ur channel offering excellent new thing Future is bright Keep it up God bless u👍

  • @Maaz-kc1eq
    @Maaz-kc1eq 2 місяці тому

    Good Approach

  • @sanamnarula2755
    @sanamnarula2755 2 місяці тому

    Thanks for sharing

  • @c_213sse
    @c_213sse 2 місяці тому

    thank you for solving DSA in Python

  • @viyadav7608
    @viyadav7608 2 місяці тому

    Mam Hindi me video dala karo please

  • @Aayush1800
    @Aayush1800 2 місяці тому

    Mam we can use stack for it......make pair of valid parenthesis and left out is answer

    • @AccelerateAICareers
      @AccelerateAICareers 2 місяці тому

      It’s a good solution but with that space complexity would be O(N) , the solution proposed here will have lesser space complexity

  • @SidBeyondLimits
    @SidBeyondLimits 3 місяці тому

    great lecture ma'am

  • @saisaigraph1631
    @saisaigraph1631 3 місяці тому

    Could u please share the slides

  • @bhskrsvideolog
    @bhskrsvideolog 3 місяці тому

    hi... I too wanna make videos like you... that was good.

    • @AccelerateAICareers
      @AccelerateAICareers 3 місяці тому

      Thanks, you can do it!! In fact you should, it helps being regular in learning and revisiting concepts even while working full-time

  • @pushpitkaushik7609
    @pushpitkaushik7609 3 місяці тому

    There is a test case that wouldn’t pass “vvvlo” Your algo would return “vlovv” or “” Need to take into account that the last heappop could return an o when we actually need a v

  • @Yash-fu2gc
    @Yash-fu2gc 3 місяці тому

    Easiest solution I have found till now on yt❤

  • @asr.explores
    @asr.explores 3 місяці тому

    you just read the problem statement you didn't explained it....

    • @AccelerateAICareers
      @AccelerateAICareers 3 місяці тому

      You should click on the full video link there, it has the entire solution, shorts has just the glimpse of it

    • @TheIsraelMendoza
      @TheIsraelMendoza 3 місяці тому

      @@AccelerateAICareers Click bait, huh?

  • @dreamlands3970
    @dreamlands3970 4 місяці тому

    Ma'am please make complete series of data science leet dsa questions in company interview

    • @AccelerateAICareers
      @AccelerateAICareers 4 місяці тому

      Sure that’s an interesting request. I can put it together and share

    • @dreamlands3970
      @dreamlands3970 4 місяці тому

      @@AccelerateAICareers Thank for your response 🙏 maam

  • @ScottJames-s4n
    @ScottJames-s4n 4 місяці тому

    Nice video are you open to new idea????

    • @AccelerateAICareers
      @AccelerateAICareers 4 місяці тому

      Sure , let me know what’s the idea

    • @ScottJames-s4n
      @ScottJames-s4n 4 місяці тому

      @@AccelerateAICareers I can see your consistent uploading on your channel but you have less views and subcribers and if you don't mind i will like to help you on your channel growth

  • @raneshmitra8156
    @raneshmitra8156 4 місяці тому

    Ma'am I am dedicated to following your channel Is it really worth it to practice the Leetcode DSA problem for Data Science interview coding rounds?

    • @AccelerateAICareers
      @AccelerateAICareers 4 місяці тому

      There’s one initial round of coding and DSA even for Data Science and ML Engineering roles in FAANG companies. And that is a make or break round. If you qualify it, then only you reach the next round

    • @raneshmitra8156
      @raneshmitra8156 4 місяці тому

      @@AccelerateAICareers Thank you so much for your advice..... Same procedure for Service based and start up companies also?

    • @AccelerateAICareers
      @AccelerateAICareers 4 місяці тому

      No that differs, usually for banks and service based companies even if there is a coding round which is not always the case, that round is pretty easy to tackle - mostly easy to medium level questions

    • @raneshmitra8156
      @raneshmitra8156 4 місяці тому

      @@AccelerateAICareers Great help 👍, Thank you very much for your unbiased advice... ❤️

  • @87virajrao58
    @87virajrao58 4 місяці тому

    pls give the java code also 😄

  • @kunaalsongra5438
    @kunaalsongra5438 5 місяців тому

    Groq is used to create which AI tools? pls make dedicated video on it

  • @hiteshmehta7335
    @hiteshmehta7335 5 місяців тому

    The explanation was amazing ma'am, thanks!

  • @elango8388
    @elango8388 5 місяців тому

    Nice Explanation 😃

  • @SnigdhaKakkar-nc5ve
    @SnigdhaKakkar-nc5ve 5 місяців тому

    I really loved this question!! And, I didn’t think it could be solved with maxHeap

    • @AccelerateAICareers
      @AccelerateAICareers 5 місяців тому

      Well, I am glad that you liked the solution, which approach did you use?

    • @SnigdhaKakkar-nc5ve
      @SnigdhaKakkar-nc5ve 5 місяців тому

      @@AccelerateAICareers I solved it using hashmap

  • @sanamnarula2755
    @sanamnarula2755 5 місяців тому

    Thanks for sharing

  • @israel5502
    @israel5502 5 місяців тому

    Very well explained dii. Just bring a smile while explaining,😊

  • @SnigdhaKakkar-nc5ve
    @SnigdhaKakkar-nc5ve 5 місяців тому

    Really interesting way of explaining!! 😊

  • @dkharyana-de5cx
    @dkharyana-de5cx 6 місяців тому

    Thank you

    • @AccelerateAICareers
      @AccelerateAICareers 6 місяців тому

      Appreciate the feedback!

    • @dkharyana-de5cx
      @dkharyana-de5cx 6 місяців тому

      @@AccelerateAICareers Could you please advise on which language should I focus more Java or Python ?

    • @AccelerateAICareers
      @AccelerateAICareers 5 місяців тому

      Actually it depends what you want to aim as a role for your next 5 years, if it is Software developer, then I would advise to start with Java; and if it is in AI, DevOps or Machine Learning / Data Science, then I would strongly suggest to start with Python

  • @basic-2-advance
    @basic-2-advance 6 місяців тому

    Good

  • @darshanbhauriyal9988
    @darshanbhauriyal9988 6 місяців тому

    U are a great teacher 🎉🎉

  • @dk__9
    @dk__9 7 місяців тому

    When you are at step-5 and want to go to step-5 , we don't need any moves. But why you took 1 move from 5 to 5 😅

  • @gawwad4073
    @gawwad4073 7 місяців тому

    This sounds like a math problem rather than a programming one. Ofc you can implement it in code, but still.

  • @manir180
    @manir180 7 місяців тому

    Why you not update res in if m**=x

    • @AccelerateAICareers
      @AccelerateAICareers 7 місяців тому

      I could have done it , but it’s one additional step when I actually know that m is the exact square root hence I chose to directly return m, but we can update res as well ,

  • @sanamnarula2755
    @sanamnarula2755 7 місяців тому

    Thanks for sharing

  • @nikhilsihare
    @nikhilsihare 7 місяців тому

    Codeforces codechef both

  • @nikhilsihare
    @nikhilsihare 7 місяців тому

    Mam plss share solution for contest also....

  • @dhruvsaraswat9776
    @dhruvsaraswat9776 7 місяців тому

    Thanks for the explanation, ma’am, really helpful The last line can be rewritten as “return goal == 0”

  • @pruthvips9565
    @pruthvips9565 7 місяців тому

    If we sort the complexity will be O(nlogn) right ? Can we solve it without using sorting

    • @AccelerateAICareers
      @AccelerateAICareers 7 місяців тому

      Yes for this solution, time complexity would be O(nlogn) due to sorting, I will post other solution if possible with less complexity as well soon

  • @AnkushKushwaha-vr2fc
    @AnkushKushwaha-vr2fc 7 місяців тому

    Nice explaination work hard

  • @paulmboucheko4964
    @paulmboucheko4964 7 місяців тому

    Why you didn't return anything in the if statement? Where the condition to remove things happened?

    • @AccelerateAICareers
      @AccelerateAICareers 7 місяців тому

      The result needed to be returned in the format of a list comprising all possible combinations: with rows combined as strings and all strings tied together as a list for each combination. Hence, in my if statement I added them to my res list to make sure I return the output in the format as required. And , all the removals or cleanups happen after we have started the recursive backtracking as we normally do in backtracking. We basically backtrack from what we originally did in order to see if there are some other solutions possible , so there is no need to mention any other conditions there

  • @sarthak-salunke
    @sarthak-salunke 7 місяців тому

    Please keep it up❤🙏

  • @Manoharpalanisamy977
    @Manoharpalanisamy977 7 місяців тому

    Its great anyone can learn Generative AI after watching your complete playlists, its not directly dive into Gen AI, Its full of basics and fundamental concepts of NLP which will needed in order to getting into learn Gen AI. I welcomed and appreciated to get this kind of fundamental concepts brought here 🫡

    • @AccelerateAICareers
      @AccelerateAICareers 5 місяців тому

      Thanks!! I am actually making the next set of videos catered to word embeddings, vector stores and Retriever Augmented Generation; so I really hope you like it

  • @Manoharpalanisamy977
    @Manoharpalanisamy977 7 місяців тому

    Really Good, I watched all your videos interms of Generative AI and NLP. Applause for your valuable work. 🫡

  • @lukwagoimmanuel3051
    @lukwagoimmanuel3051 7 місяців тому

    I'm from Uganda and I'm a beginner but I love the way you have explained the code even I was following thanks so much

  • @sanamnarula2755
    @sanamnarula2755 7 місяців тому

    Thanks for sharing

  • @princeabrol591
    @princeabrol591 8 місяців тому

    got it 👍 you are right

    • @AccelerateAICareers
      @AccelerateAICareers 8 місяців тому

      I am glad it was helpful, lemme know if you have some specific questions on Data Science as a Career or regarding how to get started on AI, I would be happy to answer!

    • @princeabrol591
      @princeabrol591 8 місяців тому

      @@AccelerateAICareers i ask same question on linkedin if you it possible for you to answer thank you i am not from data science my 1 st question is dsa is important ? And what should i learn first ??

  • @DeepthiSavari-k4n
    @DeepthiSavari-k4n 8 місяців тому

    Mam thankyou

  • @sanamnarula2755
    @sanamnarula2755 8 місяців тому

    Thanks for sharing