#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
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
🚀 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
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 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
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
📝 #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
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
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
🔢 #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
🔢 #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
🔢 #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 ♟️
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
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
🚀 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
🚀 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
🚀 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
🚀 LeetCode 987 - Vertical Order Traversal ✔️ Built tree from inorder and preorder ✔️ Nailed vertical grouping with row and value sort ✔️ Solved range query problems Feeling sharper with every node 💪 #LeetCodeHard #BinaryTree #DSAinJava #CodingJourney #100DaysOfCode
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
Started Graphs in #DSA 📊 (basics, matrix & list), solved Maximal Rectangle from #LeetCodeHard 💪 (stack), and worked on basic #HTML projects—great for tag fundamentals! #100DaysOfCode #Coding #WebDev #CodeNewbie #Frontend #DevLife #DSAChallenge #BuildInPublic #GraphTheory
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
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
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
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
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 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
🚀 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 8,474 posts
- 2. Susie Wiles 24.4K posts
- 3. FINALLY DID IT 622K posts
- 4. #csm223 1,707 posts
- 5. Good Tuesday 45.3K posts
- 6. Unemployment 40K posts
- 7. Allen Lazard N/A
- 8. Brad Johnson N/A
- 9. #tuesdayvibe 3,457 posts
- 10. #HeAProDriver 28.9K posts
- 11. Taco Tuesday 14K posts
- 12. #TOBEYOURLIGHTMV 3,026 posts
- 13. Topstep 2,119 posts
- 14. #PersonOfTheYearAwards2025 1.45M posts
- 15. Boston Tea Party 2,022 posts
- 16. The BBC 134K posts
- 17. Doug Williams N/A
- 18. 4.6% in November 4,059 posts
- 19. Jane Austen 8,097 posts
- 20. Ford 45.5K posts