#leetcodehard resultados da pesquisa
Max on the left, Min on the right Heaps keep it lean like code in flight Store running sums, no brute in sight Slide through the middle with logic tight Balance the halves, get that diff just right #DevLife #DSA #leetcodehard
We maintain a deque of decreasing elements. When a new element is greater than the back of the deque, we pop elements from the back until we find the correct position to insert the new element. #dsa #leetcodehard
Whenever I think about skipping a day this comes to my mind 😂 #leetcode #LeetCodeHard #CompetitiveProgramming #CP #CodingInterview #FAANG #Tech #consistency #programming
Day 04: Grinded some hard LeetCode today. Tackled Median of Two Sorted Arrays —> feels normal. Just merged arrays, sorted them, and gave it a final touch with a little median formula. #100DaysOfCode #LeetCodeHard #BuildingInPublic
After going through some YouTube videos multiple times, I was able to come up with a solution which is intuitive. Leetcode 84: Largest rectangle in histogram - Solution in Golang. #LeetcodeHard #Golang #DSA
🚀 Day 9 of #100DaysOfLeetCodeHard 📌 Problem: 3677. Count Binary Palindromic Numbers ✨ Since n ≤ 1e15 ⇒ binary length ≤ 50, brute-force DFS works fine. ⚡ Passed with “better than 0% runtime” 🤣 . still counts ✅ #LeetCodeHard #100DaysChallenge #DSA #CompetitiveProgramming
Task: “Sum of Prefix Scores of Strings” Me: “Oh cool, sounds like a sliding window or hashmap thing.” Problem: “Nope. It’s TRIE time 😈.” #LeetcodeHard #DSA #CodingInterview #DevHumor #TechLife #SystemDesign #CSharp #CleanCode #CodingMeme #Blind75 #GoogleInterview #MetaInterview
🚀 Day 7 of #100DaysOfLeetCodeHard 📌 Problem: 952. Largest Component Size by Common Factor ✨ One of the coolest DSU problems I’ve solved so far! ⏱ TC: ~O(n · log(maxA)) with DSU + factorization #LeetCodeHard #100DaysChallenge #DSA #CompetitiveProgramming
🚀 Day 8 of #100DaysOfLeetCodeHard 📌 Problem: 3495. Minimum Operations to Make Array Elements Zero ✨ Pure observation + pattern finding problem — no fancy DS/algorithms, just careful math to crack it! #LeetCodeHard #100DaysChallenge #DSA #CompetitiveProgramming
I feel leetcode hard questions are not hard its just that the test cases are heavier and resource consuming. so coming up with a brute force approach does not work in most cases. They need efficient algorithms #leetcode #leetcodehard #DSA #100DaysOfCode #Java
day 23 of #100DaysOfCode Solved LeetCode 1751: Max Events You Can Attend II 🧠🎯 Used DP + Binary Search to find the optimal combination of non-overlapping events with max value. Efficient O(n·k·log n) solution! #LeetCodeHard #DynamicProgramming #Python #CodingChallenge
📝 #76 Minimum Window Substring Find the smallest substring in s containing all chars of t. Use sliding window + char count array, expand right, shrink left to minimize. Ex: s='ADOBECODEBANC', t='ABC' → 'BANC' O(n+m) time, O(128) space #SlidingWindow #LeetCodeHard
🔢 #65 Valid Number Check if a string is a valid number: int, decimal, or scientific (e/E), with optional +/-. Ex: "0"✅ "0.1"✅ "abc"❌ "1e10"✅ "e3"❌ 💡 Trim spaces, handle sign, split num & exponent, validate parts. ⏱ O(n), 🗂 O(1). #StringParsing #LeetCodeHard
🔢 #52 N-Queens II How many ways can you place 👑 N queens on an NxN ♟️ board with no attacks? 💡 Use backtracking + smart pruning (no board needed!) ✅ Track cols & diagonals 🧠 Time: O(n!) | Space: O(n) #NQueens #LeetCodeHard #RecursiveDFS #ChessLogic #CodeSmart
🔢 #51 N-Queens: Place n queens on an n×n board so none attack each other (no same row, column, or diagonal). 💡 Use backtracking: place row by row, skip unsafe spots, backtrack if stuck. ⏱ Time: O(n!), 📦 Space: O(n) #NQueens #Backtracking #LeetCodeHard ♟️
🔢 #60 Permutation Sequence Given n & k, find the k-th lexicographic permutation of numbers 1 to n! 🔁 💡 Use math + logic: total perms = n!, pick digits by (k-1)/block, remove used, repeat! ⏱ O(n²) time #GreedyMath #LeetCodeHard #PermutationGame
Design Movie Rental System | LeetCode 1912 | Sep Day 21 | Heap + Hashing ✅✌️ youtu.be/H1kfDwYDcfs . . . . . . . . . . . . #leetcodesolution1912 #leetcodedaily #leetcodehard #faangprep #startup #dsa #hashmap #sortedlist #codeexplain #codingchallenge #prepareinterview
Something went wrong.
Something went wrong.
United States Trends
- 1. Vanity Fair 31.8K posts
- 2. Susie Wiles 75.6K posts
- 3. Mick Foley 24.4K posts
- 4. Raphinha 40K posts
- 5. Disclosure Day 15.9K posts
- 6. Spielberg 21.7K posts
- 7. Michelea Ponce 10.1K posts
- 8. Brad Johnson N/A
- 9. My Fellow Americans 2,011 posts
- 10. Palmer 36.5K posts
- 11. Bellingham 26.9K posts
- 12. Alan Jackson N/A
- 13. langdon 2,540 posts
- 14. Doug Williams N/A
- 15. Unemployment 56.9K posts
- 16. Larian 6,265 posts
- 17. Chief of Staff 46K posts
- 18. CSC Academic All-District N/A
- 19. Philo 2,047 posts
- 20. Emily Blunt 5,770 posts