#maxheap — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #maxheap, aggregated by home.social.
-
☑️ Day 18/100: #Leetcode daily question
🟨 Question: 1405. Longest Happy String
The question was good and I did it in 45 mins. I was able to solve it using max function and other was to use heap.
🐈⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions
🔗 Solution Link: https://github.com/akshatsingh1718/leetcode/tree/main/longestHappyString
🔗 My Leetcode Github: https://github.com/akshatsingh1718/leetcode