#minheap — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #minheap, aggregated by home.social.
-
☑️ Day 13/100: #Leetcode daily question
🟨 Question:1942. The Number of the Smallest Unoccupied Chair
The question was tricky and I had to see the solution tab sadly. But I did learn how to use min heap for assigning the lowest value we can.
🐈⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions
🔗 Solution Link: https://github.com/akshatsingh1718/leetcode/tree/main/theNumberoftheSmallestUnoccupiedChair
🔗 My Leetcode Github: https://github.com/akshatsingh1718/leetcode