OverflowPirates Profile Banner
Overflow Pirates Profile
Overflow Pirates

@OverflowPirates

Followers
114
Following
1K
Media
117
Statuses
591

๐Ÿดโ€โ˜ ๏ธ Overflow Pirates ๐Ÿ’ป Go backend & full-stack adventures ๐Ÿ“š Teaching dev wisdom like anime arcs ๐Ÿดโ€โ˜ ๏ธ Sailing for my next tech adventure

East Blue
Joined July 2021
Don't wanna be here? Send us removal request.
@OverflowPirates
Overflow Pirates
2 months
Congrats, Team India Women! ๐Ÿ†๐Ÿ’™ World Champions โ€” youโ€™ve brought the joy and pride home! Every inning, every victory, every moment made the nation proud๐Ÿ‡ฎ๐Ÿ‡ณ #WorldChampions #indwvssaw
0
0
2
@OverflowPirates
Overflow Pirates
2 months
Writing perfect TypeScript types for 3 hours... then fixing one error with as any ๐Ÿ’€
0
0
1
@OverflowPirates
Overflow Pirates
2 months
Why are Indian https://t.co/Yi7uVTqzvp colleges obsessed with Turbo C? You open VS Code and suddenly you're the villain of the syllabus ๐Ÿ˜ญ Let me code in peace, not in 1995. Is your college like this, too, or is it just mine?
1
0
1
@OverflowPirates
Overflow Pirates
2 months
Node.js built the web. ๐ŸŒ Bun is rebuilding it โ€” faster. โšก Node = stable, proven Bun = fast, all-in-one (runtime + bundler + test runner) Same goal. New speed. Which one are you using? ๐Ÿ‘‡ #JavaScript #NodeJS #Bun
0
0
1
@OverflowPirates
Overflow Pirates
2 months
I am stuck in this loop. How should I break it?
0
0
1
@OverflowPirates
Overflow Pirates
2 months
IDE auto-complete is killing real learning. You think you โ€œknowโ€ code until the interview asks you to write syntax from scratch ๐Ÿ’€
1
0
1
@OverflowPirates
Overflow Pirates
2 months
This is best resource to learn dsa
0
0
1
@OverflowPirates
Overflow Pirates
3 months
Just installed Cursor free version ๐Ÿ˜Ž Any tips on using it efficiently, or should I go premium? Let me know your thoughts ๐Ÿ‘‡
1
0
1
@OverflowPirates
Overflow Pirates
3 months
Which is the best source of learning Machine learning online? Please give some #suggestions
0
0
1
@OverflowPirates
Overflow Pirates
3 months
This keeps counts aligned with the original array, even though merge sort keeps rearranging elements. Final complexity โ†’ O(n log n), space O(n). Clean, reliable way to solve the problem using merge sort in Java.
0
0
1
@OverflowPirates
Overflow Pirates
3 months
To keep results in the correct order, maintain an indexes[] array that stores each elementโ€™s original position. When you update counts, use that original index: counts.set(indexes[left], counts.get(indexes[left]) + rightTaken);
1
0
1
@OverflowPirates
Overflow Pirates
3 months
During the merge: If rightVal < leftVal, move the right element and increase a counter (rightTaken). When placing a left element, add rightTaken to its result because those many smaller elements came from the right side.
1
0
1
@OverflowPirates
Overflow Pirates
3 months
For LeetCode 315 โ€“ Count of Smaller Numbers After Self, the merge-sort approach counts smaller elements as it merges. Hereโ€™s how it works in Java ๐Ÿ‘‡
1
0
1
@OverflowPirates
Overflow Pirates
3 months
This keeps counts aligned with the original array, even though merge sort keeps rearranging elements. Final complexity โ†’ O(n log n), space O(n). Clean, reliable way to solve the problem using merge sort in Java.
0
0
1
@OverflowPirates
Overflow Pirates
3 months
To keep results in the correct order, maintain an indexes[] array that stores each elementโ€™s original position. When you update counts, use that original index: counts.set(indexes[left], counts.get(indexes[left]) + rightTaken);
1
0
1
@OverflowPirates
Overflow Pirates
3 months
During the merge: If rightVal < leftVal, move the right element and increase a counter (rightTaken). When placing a left element, add rightTaken to its result because those many smaller elements came from the right side.
1
0
1
@OverflowPirates
Overflow Pirates
3 months
Does anyone else absolutely struggle to solve LeetCode 315 'Count of Smaller Numbers After Self' with merge sort? ๐Ÿ˜ตโ€๐Ÿ’ซ If merge sort made you want to pull your hair out, how did you finally crack it? Share your tips
2
0
2
@OverflowPirates
Overflow Pirates
3 months
Hey, I'm looking to #connect with those interested in: Web Development Web3 Blockchain Frontend / Backend System Design React / Next.js UI / UX Open Source SaaS Startups Freelancing Golang DSA #letsconnect
2
0
3
@OverflowPirates
Overflow Pirates
3 months
Delete LinkedIn. Delete Insta. Make friends on X. Start coding ๐Ÿ‘จโ€๐Ÿ’ป Am I right???
0
0
1
@OverflowPirates
Overflow Pirates
3 months
My code right now: Literally collapsing Me: adds try-catch block Everythingโ€™s fine ๐Ÿ˜ญ
0
0
1