🚀 Stop waiting to be discovered. Start putting yourself out there.
With UrNextDoor, you can:
✍️ Blog & share ideas
📣 Market your business FREE
💼 Post job openings
🛠️ Promote your services
🤝 Connect & network
📈 Find opportunities & grow
💙 0% platform fee.
💧Coding Tip: Max Water Container Problem!💧
Input: [1,8,6,2,5,4,8,3,7]
Max Area: 49
✅ Use Two Pointers ✅ Move the pointer with smaller height ✅ Optimize space and time!
#100DaysOfCode#leetcode#TechTwitter#CodingLife
Zigzag String Conversion 🧵
Write a function to convert a string into zigzag form across rows and read line by line.
Example:
Input: "PAYPALISHIRING", numRows=3
Output: "PAHNAPLSIIGYIR"
#CrackCodingWithMayank#Coding#Cplusplus
Itinerary problem!
Reconstruct the path from JFK using all tickets, lex smallest order.
Inp: [["JFK","SFO"],["JFK","ATL"],["SFO","ATL"],["ATL","JFK"],["ATL","SFO"]]
Opt: ["JFK","ATL","JFK","SFO","ATL","SFO"]
#100DaysOfCode#GraphAlgorithms#DevCommunity#JavaScript#MayankCodes
🧠 Coding Challenge: Given nums = [1,3], n = 6, how many numbers do we need to add so that we can form every sum in [1, 6]?
Answer: 1 ➝ Add 2 🔥
Try more: [1,5,10], n=20 ➝ 2 patches
[1,2,2], n=5 ➝ 0 patches
#Coding#Greedy#TechTwitter
🚀 DSA Challenge Time!
How many range sums in nums fall within [lower, upper]?
Example:
Input: [-2,5,-1], Range: [-2,2]
✅ Output: 3
Master prefix sums & level up 💪
More at 👉 Crack Coding with Mayank
#100DaysOfCode#DSA#CodingChallenge#CrackCodingWithMayank
🧠 Can you form the largest number of length k from two arrays of digits?
Keep the order in each array! 🔁
Example:
nums1 = [3,4,6,5]
nums2 = [9,1,2,5,8,3]
k = 5
✅ Output: [9,8,6,5,3]
👨💻 Comment your approach ⬇️
#LeetCode#CodingChallenge#100DaysOfCode#DevTwitter
🚀 Challenge: Count Smaller Numbers After Self
Given nums = [5,2,6,1], return [2,1,1,0].
Efficient solutions? ✅ Merge Sort + BIT, ✅ Balanced BST, ✅ Segment Tree (O(n log n) complexity).
How would you solve it? Drop your approach! 👇
#LeetCode#Coding#DSA#Algorithms#Tech
💡 Bursting Balloons – DP Challenge! 🎈
Given an array of balloons 🎯, burst them wisely to maximize coins! 💰
🔹 nums = [3,1,5,8]
🔹 Max Coins = 167
👨💻 Used Memoization + Interval DP to optimize!
#LeetCode#Coding#DynamicProgramming#InterviewPrep#100DaysOfCode