खोज परिणाम: "#CodingPatterns"

20 परिणाम
Inflictt
Inflictt@Saksham1172975·
🧵 Thread 2️⃣ — Day 40/365 | DSA Insights Day 40/365 🧠 | DSA Learnings Today reinforced two powerful patterns: • Inorder traversal turns a BST into a sorted array • Binary search on answer works when monotonicity exists. #DSA #CodingPatterns #LeetCode #LearningInPublic
English
1
0
1
16
Sanjay (eNinja-in)
Sanjay (eNinja-in)@eninjain·
ChatGPT said: 🔢 #59 Spiral Matrix 🌀 Fill an n x n matrix with numbers from 1 to n² in spiral order! ➡️➡️⤵️⬅️⬆️ → Go right, down, left, up while adjusting bounds. 🧠 Use 4 pointers: top, bottom, left, right ⏱ O(n²) time & space #SpiralMatrix #CodingPatterns
Sanjay (eNinja-in) tweet media
English
0
0
1
6
Dev Shrivastava
Dev Shrivastava@DevS71591179·
🚀 Day 19 of #100DaysOfCode 🔁 Focused on ONE DSA problem today: 🧩 Longest Consecutive Sequence ❌ Brute: Sort & scan → O(n log n) 🔄 Better: HashSet + check start of sequence → O(n) ✅ Optimal: Clean, readable + handles edge case #DSA #CodingPatterns
English
0
0
2
12
Kamran Khan Alwi
Kamran Khan Alwi@KhanKamranAlwi·
🎯 Takeaways ✅ Cycle detection helps in more than just loops – also useful in number problems! ✅ Modulo arithmetic is gold in circular logic ✅ Patterns repeat — learn them once, apply forever 📅 Tomorrow: Reorder & Split Linked List fun! #DSAChallenge #CodingPatterns #Leetcode
English
0
0
2
12
Kamran Khan Alwi
Kamran Khan Alwi@KhanKamranAlwi·
🎯 Takeaways ✅ Dummy nodes = your best friend for edge cases ✅ Two pointers are incredibly versatile in LLs ✅ For intersection, redirecting paths is smarter than counting lengths 📅 Tomorrow: Cycle Detection + Duplicate Finder #Python #DevCommunity #CodingPatterns #Leetcode
English
0
0
2
16
Kamran Khan Alwi
Kamran Khan Alwi@KhanKamranAlwi·
🎯 Takeaway: ✅ Expand Around Center is a clean O(n²) solution for palindrome problems. ✅ Consider both odd and even cases. ✅ Great technique when brute force feels too heavy. 📅 Tomorrow: Strings to Numbers and Substrings (atoi + strStr)! #40DaysOfCode #CodingPatterns #DSA
English
0
0
0
14
Kamran Khan Alwi
Kamran Khan Alwi@KhanKamranAlwi·
🎯 Takeaways ✅ Not all sliding windows are fixed-size. ✅ Always think: “When to expand?” and “When to shrink?” ✅ Use hash sets/maps or sum vars to track what’s in the window. 📅 See you in Day 9 for Palindromic Substrings ✨ #40DaysOfCode #CodingPatterns #PythonTips #DSA
English
0
0
1
7
TechJengaHub
TechJengaHub@techjengahub·
#CodingPatterns Two Pointers: When to use: • Array is sorted or needs scanning from both ends. • Problems like removing duplicates, reversing in-place, or checking palindromes. Tip: Use two indices moving inward or at different paces to reduce time complexity from O(n²) to O(n). #LeetCode
English
1
0
0
39
Kumar
Kumar@kumardeepam·
Create rules for common patterns like API routes, data fetching, and environment variables. 📝 Show the AI exactly how you want things done! What patterns are you tired of repeating? #CodingPatterns #Automation #Efficiency
English
1
0
0
30
Raman Jha
Raman Jha@RamanRjha4647·
9. Design the code in such a way so that it could be testable. Let me know in comments if anything needs to be linked from your perspective. #coding #Bugfree #CodingPatterns
English
0
0
0
44
Ricardo // 🧑‍💻
Ricardo // 🧑‍💻@RochaDaRicardo·
⚙️ Exploring the elegance of the #MVC (Model-View-Controller) architecture today! 🔄 What are your go-to frameworks or languages for implementing MVC patterns? #WebDev #CodingPatterns
English
0
0
0
107