Firecode.io🔥 @firecodeio
Official X for https://t.co/Vld8WCWvXi. Coding Interview Prep - Done Right. See what the hype is about at https://t.co/ATzwG2aScM . Status: https://t.co/6axW7NL9tO firecode.io San Francisco, CA Joined April 2015-
Tweets664
-
Followers3K
-
Following76
-
Likes442
Facts
The higher the salary bracket you are interviewing for the more chill the interview becomes
Binary Tree Max Path Sum: the recursive function returns node + max(left, right) to the parent, but tracks maxSum with node + left + right. two separate concerns. the path can turn at a node but can’t extend after turning. [-10,9,20,15,7] → 42, not 34. firecode.io/firelogs/probl…
Sort Colors trips most people on one thing: after swapping with blue, don't advance white. that element is unexamined. after swapping with red, advance both. it was already a 1. that's the Dutch National Flag algorithm. Apple, Google, Meta ask this. firecode.io/firelogs/probl…
Longest Palindromic Substring trips people on one thing: odd vs even palindromes. 'cbbd' → 'bb' requires the even-center check (expandAround i, i+1). only checking single chars gives you 'c', which is wrong. two expand calls per index, not one. firecode.io/firelogs/probl…
Combination Sum is the problem where backtracking clicks. add, recurse, pop. passing `start = i` not `i + 1` in the recursive call is what makes it combinations not permutations. without it, [2,3] and [3,2] both show up. firecode.io/firelogs/probl…
Swap Nodes in Pairs: the pointer update order matters. prev.next = second, then first.next = second.next, then second.next = first. Flip any two and you lose the rest of the list. And return dummyHead.next, not head. head isn’t first anymore. firecode.io/firelogs/probl…
Most people compare nums[mid] with nums[left] for Find Min in Rotated Sorted Array. Gets messy for the unrotated case. Compare with nums[right]: if mid > right, min is in the right half. Otherwise at mid or left. O(log n), no special cases. firecode.io/firelogs/probl…
Word Search is Number of Islands + one thing: reset the cell after DFS. that line IS the backtracking. skip it and dead-end paths permanently block valid ones. ABCB fails exactly because of this. Amazon, Bloomberg, Apple ask it constantly. firecode.io/firelogs/probl…
Maximum Product Subarray is Kadane's with a catch. track a running max AND a running min. negative numbers flip signs, so your minimum can become your maximum. [-2, 3, -4]: min at index 1 is -6, multiply by -4 and you get 24. firecode.io/firelogs/probl…
Phone keypad letter combinations. The complexity is O(4^n) not O(3^n) because digits 7 and 9 have four letters, not three. Easy to get wrong in an interview. Also: return [] for empty input, not a list with an empty string. Apple asks this 24 times in recent data. firecode.io/firelogs/probl…
Phone keypad letter combinations. The complexity is O(4^n) not O(3^n) because digits 7 and 9 have four letters, not three. Easy to get wrong in an interview. Also: return [] for empty input, not a list with an empty string. Apple asks this 24 times in recent data. firecode.io/firelogs/probl…
Most people think merging two sorted linked lists needs O(n) extra space. it doesn't. you splice existing nodes by redirecting pointers, no new allocations. dummy node, compare heads, attach smaller, advance. Google, Meta, Amazon, Adobe all ask this. firecode.io/firelogs/probl…
Insert Interval is O(n) not O(n log n) because the input is pre-sorted. three cases: before (pass through), overlap (expand), after (output insert, swap current in). that swap is why out.add(insert) always works at the end. firecode.io/firelogs/probl…
Spiral Matrix clicks once you see it as ring peeling. four pointers (top, bottom, left, right), shrink inward each loop. the bug: no boundary check before the bottom row traversal means double-counting on rectangular matrices. draw it on paper first. firecode.io/firelogs/probl…
Rotate Image: transpose then reverse each row = 90 degrees clockwise, O(1) space. One trap: in the transpose loop, j starts at i, not 0. Start at 0 and every pair swaps twice, matrix ends up unchanged. Easy to miss. Google, Meta, Amazon ask this. firecode.io/firelogs/probl…
Majority Element II: at most 2 elements can exceed n/3 (pigeonhole). track 2 Boyer-Moore candidates instead of 1. cancellation eliminates triplets. second pass verifies. O(n), O(1). Adobe asks this constantly. firecode.io/firelogs/probl…
Most people dp-table Unique Paths. works fine. but you can also use combinatorics: m+n-2 total moves, exactly m-1 go down. that's C(m+n-2, m-1). O(m+n), no table, no iteration. breaks with obstacles, but clean for the base case. firecode.io/firelogs/probl…
Valid Anagram is where interviewers find out if you know the 26-int array trick. HashMap works but `c - 'a'` to map chars to indices, +1 for s, -1 for t, check all zeros is cleaner. O(1) space. Google, Bloomberg, Adobe all ask this. firecode.io/firelogs/probl…
Bottom-up level order traversal is just BFS + reverse. One catch: enqueue the right child BEFORE the left child. Miss that, each level in your reversed output reads right-to-left instead of left-to-right. Microsoft, Amazon, Apple ask this. firecode.io/firelogs/probl…
Jump Game: track maxReach (farthest reachable index so far). if current index > maxReach, you're stranded, return false. update maxReach = max(maxReach, i + nums[i]). that's it. one pass, O(n) time, O(1) space. Amazon, Google, Meta all ask this. firecode.io/firelogs/probl…
javinpaul @javinpaul
106K Followers 7K Following Blogger - https://t.co/Cxgp9zzN3y Creator - https://t.co/GYls4Lx9DW newsletter - https://t.co/P8jiQ5GW16 youtube - https://t.co/vs4WjwaEQ6
Designer Discount Clu... @join_ddc
5 Followers 6 Following Never pay retail for furniture from your favorite brands. Get insider designer discounts by joining DDC - launching soon!
Chirpie.ai @chirpie_ai
2 Followers 6 Following The social media layer for AI agents. Post via API, MCP, or CLI. Schedule, thread, analyze. Built by developers for agents and developers.
Elon Daily @dogeceox01
102 Followers 4K Following Let's go Americans 🇺🇸🔥Freedom of speech is paramount🌎 THE FUTURE IS AUTONOMOUS🪐
Aditya P. Advani @aditya_advani
1K Followers 6K Following Inventing the future of business networking. Founder @MoltpodDotCom. Sharing experiments, research, lessons & demos
Mohamed Shata @shata19009
5 Followers 38 Following
Akshay @Ank_Akshay
355 Followers 970 Following 🇮🇳 Educator | OD & Psychometrics | Pragmatic takes on Real-time Leadership & Management Styles in Corporate & Geopolitics| Expect Dry Humor© & Laughter®
Mark Fabela @markdfabela
13K Followers 9K Following San Francisco native. @StIgnatius @SantaClaraUniv alum.
Shahabuddin Ahmed @Shahabuddin_CSE
3 Followers 108 Following
Larry @IbrahimSha54566
22 Followers 177 Following
Ahmed Hashem 🇵🇸 @AhmedvHashem
246 Followers 2K Following Muslim | Husband | Father | Software Engineer | Humble Gamer
Laurent Bazet @bazet
3K Followers 5K Following Laurent Bazet @lechefsimon #food #ai #music #trailrunning #parenting #art #narbonne #nft
William Callahan @WilliamCallahan
896 Followers 5K Following Building @aVentureVC (Techstars NYC, a company research platform using AI agents - https://t.co/B2EnOfV0UY) & https://t.co/iPpPJnFUAt. CFA, Angel/VC investor.
vijay @v1jayr
35 Followers 377 Following
Cátia Machado @CatiaSofiaMah
13 Followers 382 Following Software engineer 👩💻 AI enthusiast 🎓 Passionate about algorithms, neuroscience and physics 🧠
Anmol Gautam @anmol_gautam_18
60 Followers 140 Following Leetcode Rating of 1600+ || ML & Data Science Enthusiast | Focused on Fundamentals, Not Just Tools || Imprenditore 4.0 Startup Sprint Winner
God's will @Godswill228369
4 Followers 105 Following
Professional @Profess86659988
0 Followers 17 Following
Random String @Random__String_
0 Followers 3 Following
Hsharma @hydro_glimmer74
2 Followers 17 Following AI & Web Dev Enthusiast | AI Devloper| Web Development | DevOPS | Ghostwriting | #100DaysOfCode | Learning • Building • Sharing | Building something every day
Slinirffeyt @slinirffey81760
114 Followers 5K Following
Eva Szabo @pinkraccoon13
0 Followers 2 Following
Abhishek singh @Abhi_singh775
86 Followers 2K Following Mern-Stack developer | HTML || CSS || JavaScript || React JS || Next JS || Node JS || MongoDB || Express JS
Jonathan Leissler @JonathanL2020
0 Followers 2 Following
Archit @archit_singh15
83 Followers 2K Following computer engineer | grokking neural nets currently | 👨💻 | 🏋️♀️ | 🤖 | 🎮 | ✍️ | 📷
ramzan skrm @RamzanSkrm
5 Followers 122 Following
roni @reshbet
6 Followers 116 Following
abu talha @abuxtalha
455 Followers 974 Following SWE, I live to experiment | checkout https://t.co/fkgTJeOFPOSiddhesh Gadkari @siddheshgadkari
84 Followers 127 Following Coding, languages, guitar, photoshop and writing are just some of the things i'm learning. Love reading, eating, music, art, math. Hi :D
Surya @Surya09277027
0 Followers 2 Following
Ok @ra73660
87 Followers 227 Following
Yoyo @Handheldk
23 Followers 1K Following
Nirmal Sharon Joji @NirmalJoji
4 Followers 63 Following
Vladislav @Vladislav_COS
57 Followers 222 Following AI art cryator / self-taught digital artist ֍ MJ & NB ֍ Passionate about AI ֍ Connoisseur of art ֍ Consider following if you like what I'm doin'
Andrew @Andrew89818911
0 Followers 110 Following
Neethan @NeethanB
68 Followers 314 Following
Maria Ines Parnisari ... @left4deaf
881 Followers 725 Following rabbit hole follower. hobby: https://t.co/0BDDsfqWiy blog: https://t.co/JX26g0Azfg work: @authzed. prev @AWS, @amazon, @Auth0 (@okta), @southworks.
Marcus Leite @marcusvmleite
93 Followers 680 Following
Paul Graham @paulg
4.4M Followers 793 Following
Theo - t3.gg @theo
366K Followers 4K Following Full time CEO @t3dotchat. Part time YouTuber, investor, and developer
ThePrimeagen @ThePrimeagen
373K Followers 1K Following skill issues: 🟩⬛️⬛️⬛️⬛️⬛️(69/420) https://t.co/TYJ6aSq4O0 https://t.co/wQJlh4stsc https://t.co/wxeJWY8LmI
I Am Devloper @iamdevloper
395K Followers 0 Following just your friendly neighbourhood printer fixer 💸 promotional content: https://t.co/mz9fc9Cprl https://t.co/JcbaPh9EXs - daily dev puzzle
Deedy @deedydas
250K Followers 6K Following Partner at @MenloVentures. Investor: Anthropic, OpenRouter, Modal, Wispr, Inception, Goodfire, PrimeIntellect prior: Glean, Google Search. Cornell CS.
Linux Handbook @LinuxHandbook
159K Followers 78 Following Learn to use Linux commands, SysAdmin tools, Self-hosting, Docker and other DevOps stuff with us.
Eric Lancheres @ericlancheres
5K Followers 174 Following SEO Researcher, Speaker and Coach at MyTrafficResearch and founder of https://t.co/DDRmDFUQF1 - Since 2006
Chirpie.ai @chirpie_ai
2 Followers 6 Following The social media layer for AI agents. Post via API, MCP, or CLI. Schedule, thread, analyze. Built by developers for agents and developers.
w7u @weiguozhu
7 Followers 46 Following
Jediah Katz @jediahkatz
8K Followers 485 Following building the @cursor_ai agent. prev @figma / taught CS @penn. native new yorker, check out https://t.co/pkRbuZupcj
Mark Fabela @markdfabela
13K Followers 9K Following San Francisco native. @StIgnatius @SantaClaraUniv alum.
TechLead @techleadhd
86K Followers 113 Following Ex-Google / ex-Meta tech lead, app entrepreneur, software engineer ☕✌️ Community at https://t.co/6XtUaBnKfX
Denislav Jeliazkov @DenisJeliazkov
39K Followers 625 Following Designer & builder @figuradigital ✦ I try to swim, bike & run ✦ Built for 100+ startups
DHH @dhh
766K Followers 200 Following Father of three, Creator of Ruby on Rails + Omarchy, Co-owner & CTO of 37signals, Shopify director, NYT best-selling author, and Le Mans 24h class-winner.
TJ @MillionsWithMe
5K Followers 325 Following | 27 | Documenting my journey to financial freedom and talking about things I kind sorta understand. Current portfolio value: $175k
SocialPilot @socialpilot_co
73K Followers 4K Following SocialPilot is a powerful social media suite for agencies, SMBs, & multi-location brands. Streamlined scheduling, powerful analytics & easy collaboration.
Fireship @fireship_dev
205K Followers 920 Following Build and ship your app faster with @JeffDelaney23 🔥📽️ https://t.co/oF4GTcT7UC
Mitchell Hashimoto @mitchellh
216K Followers 150 Following Creator of Ghostty. 👻 Prev founded @HashiCorp, created Vagrant, Terraform, Vault, and others.
Eric Dunn @EricDunnOKC
752 Followers 3K Following Ordained minister and owner of: Cash Cow Design Inc, Elle Services Incorporated, & Dunn Events LLC. 20 years in the mortgage industry. Business consultant.
d͛._.b͛ @darvieb
463 Followers 655 Following
Elon Musk @elonmusk
241.0M Followers 1K Following
farezv.com @farezv
2K Followers 2K Following Software Engineer. https://t.co/IYEgzJjcGe on the side. ex-@wbd @AWS & @EA. CS @UBC alum.
SANTOSH B K @bornfreekushi
14 Followers 30 Following Software Engineer by profession... But, In the process of Defining Happiness...!!!
オリンピック村 @TheVillage_boy
987 Followers 415 Following
Natalia Pokroskaya @npokrovskaya
38 Followers 101 Following
Tyler Lewis @TylerFordLewis
6K Followers 8K Following I am a crypto trader Who’s into DeFi and loves to listen to DNB while on WEB3 finding hidden GEMS and attempting to make GENERATIONAL WEALTH!
Alex Bowe @alexbowe
2K Followers 2K Following Eng @NVIDIA | ex @GroqInc, Cruise | Compressed Data Structures PhD (BOSS de Bruijn Graph) | Photographer, gamer, learner, enjoyer of things
Dad Jokes @Dadsaysjokes
659K Followers 53 Following Best dad jokes on twitter - we’re also on Instagram and Facebook.
Valnei Dos Santos Pe @walneyrpm
40 Followers 499 Following
PrasannaPilakaPhotogr... @PrasannaPilaka
104 Followers 390 Following I’m a Landscape, Wildlife, Street & Portrait photographer. DM for collab and to Book me for your next Portrait Session.
Kent Beck 🌻 @KentBeck
185K Followers 849 Following Pioneered JUnit/xUnit, patterns, XP, TDD. Ex-Apple, Meta, Gusto, Mechanical Orchard. Learning to be me. Blogging at https://t.co/wJpBuSGJyB.
Martin Fowler @martinfowler
354K Followers 163 Following Author on Software Development. Works for Thoughtworks. Also hikes, watches theater, and plays modern board games. He/him.
Nelson Gaske @nelsongaske
160 Followers 441 Following




























