r/GetCodingHelp • • Mar 04 '26

My Uber SDE-2 Interview Experience (Not Selected, but Worth Sharing)

2 Upvotes

I recently interviewed with Uber for a Backend SDE-2 role. I didn’t make it through the entire process, but the experience itself was incredibly insightful — and honestly, a great reality check.

Since Uber is a dream company for many engineers, I wanted to write this post to help anyone preparing for similar roles. Hopefully, my experience saves you some surprises and helps you prepare better than I did.

Round 1: Screening (DSA)

The screening round focused purely on data structures and algorithms.

I was asked a graph problem, which turned out to be a variation of Number of Islands II. The trick was to dynamically add nodes and track connected components efficiently.

I optimized the solution using DSU (Disjoint Set Union / Union-Find).

If you’re curious, this is the exact problem:

Key takeaway:
Uber expects not just a working solution, but an optimized one. Knowing DSU, path compression, and union by rank really helped here.

Round 2: Backend Problem Solving

This was hands down the hardest round for me.

Problem Summary

You’re given:

  • A list of distinct words

  • A corresponding list of positive costs

You must construct a Binary Search Tree (BST) such that:

  • Inorder traversal gives words in lexicographical order

  • The total cost of the tree is minimized

Cost Formula

If a word is placed at level L:

Contribution = (L + 1) × cost(word)

The goal is to minimize the total weighted cost.

Example (Simplified)

Input

One Optimal Tree:

Words: ["apple", "banana", "cherry"]
Costs: [3, 2, 4]

banana (0)
       /       \
  apple (1)   cherry (1)

TotalCost:

  • banana → (1 × 2) = 2

  • apple → (2 × 3) = 6

  • cherry → (2 × 4) = 8 Total = 16

What This Problem Really Was

This wasn’t a simple BST question.

It was a classic Optimal Binary Search Tree (OBST) / Dynamic Programming problem in disguise.

You needed to:

  • Realize that not all BSTs are equal

  • Use DP to decide which word should be the root to minimize weighted depth

  • Think in terms of subproblems over sorted ranges

Key takeaway:
Uber tests your ability to:

  • Identify known problem patterns

  • Translate problem statements into DP formulations

  • Reason about cost trade-offs, not just code

Round 3: API + Data Structure Design (Where I Slipped)

This round hurt the most — because I knew I could do better.

Problem

Given employees and managers, design APIs:

  1. get(employee) → return manager

  2. changeManager(employee, oldManager, newManager)

  3. addEmployee(manager, employee)

Constraint:
👉 At least 2 operations must run in O(1) time

What Went Wrong

Instead of focusing on data structure choice, I:

  • Spent too much time writing LLD-style code

  • Over-engineered classes and interfaces

  • Lost sight of the time complexity requirement

The problem was really about:

  • HashMaps

  • Reverse mappings

  • Constant-time lookups

But under pressure, I optimized for clean code instead of correct constraints.

Key takeaway:
In interviews, clarity > beauty.
Solve the problem first. Refactor later (if time permits).

Round 4: High-Level Design (In-Memory Cache)

The final round was an HLD problem:

Topics discussed:

  • Key-value storage

  • Eviction strategies (LRU, TTL)

  • Concurrency

  • Read/write optimization

  • Write Ahead Log

However, this round is also where I made a conceptual mistake that I want to call out explicitly.

Despite the interviewer clearly mentioning that the cache was a single-node, non-distributed system, I kept bringing the discussion back to the CAP theorem — talking about consistency, availability, and partition tolerance.

In hindsight, this was unnecessary and slightly off-track.

CAP theorem becomes relevant when:

  • The system is distributed

  • Network partitions are possible

  • Trade-offs between consistency and availability must be made

In a single-machine, in-memory cache, partition tolerance is simply not a concern. The focus should have stayed on:

  • Data structures

  • Locking strategies

  • Read-write contention

  • Eviction mechanics

  • Memory efficiency

Resource: PracHub

Final Thoughts

I didn’t get selected — but I don’t consider this a failure.

This interview:

  • Exposed gaps in my DP depth

  • Taught me to prioritize constraints over code aesthetics

  • Reinforced how strong Uber’s backend bar really is

If you’re preparing for Uber:

If this post helps even one person feel more prepared, it’s worth sharing.

Good luck — and see you on the other sid


r/GetCodingHelp • • Mar 04 '26

Python Code doesn't work in Minecraft education

Thumbnail
gallery
4 Upvotes

the agent needs to move till the end of the redstone line. In both pictures the code is wrong. I don't know what's wrong.


r/GetCodingHelp • • Feb 28 '26

Career & Roadmap Honest advice for beginners trying to enter tech in 2026

30 Upvotes

The entry-level market is tougher than it was a few years ago. Tutorials are everywhere, AI can generate boilerplate code, and “learn X in 30 days” content is flooding the internet. So what actually helps a beginner stand out now?

  1. Depth > hype: Knowing one stack properly beats touching five superficially.

  2. Debugging skill > tutorial completion: Companies value people who can fix problems independently.

  3. Projects with clear problem statements > cloned portfolio templates.

If you’re just starting out, focus less on trends and more on fundamentals (data structures, APIs, databases, Git, clean code). The market rewards competence, not certificates.


r/GetCodingHelp • • Feb 25 '26

Help in css optimization

Thumbnail
gallery
4 Upvotes

i want experienced frontend ppl to help me optimize css , tell me more efficient to make this more responsive , better


r/GetCodingHelp • • Feb 23 '26

Beginner Help Why theoretical CS subjects also matter

29 Upvotes

It’s easy to dismiss subjects like Design and Analysis of Algorithms, Operating Systems, or Computer Networks as “just theory” when all you want to do is build apps. But these are the subjects that quietly shape how you think as a developer. They help you write efficient code, understand performance issues, debug smarter, and design scalable systems.

If you’re studying a theoretical subject right now and wondering when you’ll ever use it, you probably will, just not in the obvious way.

Which theory subject are you finding the hardest at the moment?


r/GetCodingHelp • • Feb 23 '26

trying to move into programming ,what path would you recommend?

15 Upvotes

Hi! I’d like some guidance from more experienced developers.

I’m a graphic designer with a few years of experience. I can work in English and I’ve mostly done freelance work, but the design market has been unstable for me, so I want to seriously transition into programming.

I’m interested in frontend or full stack.
I currently know basic JavaScript and general web fundamentals.

I’m trying to decide how to invest my time correctly instead of jumping between technologies.

Things I’m considering:

  • Going deep into frontend first

  • Learning full stack from the start

  • React Native vs native Android (Kotlin)

My questions:

  1. If you were starting today from my position, what would you focus on first?

  2. Is a self-taught path realistic without a CS degree?

  3. What stack would give the best chances to land a first job?

I’m ready to commit long-term , I just want to avoid wasting time on the wrong path.

Thanks for any advice 🙏


r/GetCodingHelp • • Feb 21 '26

Career & Roadmap Stop waiting to feel “ready”

8 Upvotes

A lot of students delay building projects because they think they need to finish one more course first. Truth is, you’ll never feel fully ready. Start small, build something imperfect, and improve it as you learn. That messy first project will teach you more than 20 hours of passive tutorials ever will.


r/GetCodingHelp • • Feb 18 '26

Beginner Help Understand Data Persistence with Pickle in Python

0 Upvotes

I met a programming student and they told me that they had built a small Python project that stored user data in a list… but every time the program closed, everything disappeared. They didn’t realize programs don’t “remember” things unless you tell them to. That’s when we explored Python’s pickle module.

It's a simple way to save objects like lists or dictionaries into a file and load them back later exactly as they were. For beginners, this is usually the moment they understand the difference between temporary variables and persistent data. If you’re learning Python and starting small projects, understanding this concept can level you up quickly. Have a look at the detailed step by step explanation here: https://codingzap.com/pickle-in-python/


r/GetCodingHelp • • Feb 16 '26

Career & Roadmap If you’re a coding student, read this before your next semester starts.

32 Upvotes

One mistake I see many coding students make is confusing activity with progress. Finishing courses, watching tutorials, and collecting certificates feels productive. But real growth comes from solving problems on your own and understanding why your solution works. Before your next semester gets busy, decide on one practical skill you want to strengthen. Be it debugging, data structures, Git, or building small projects, track improvement in that, not just completion of content.

Also, don’t treat college subjects and self-learning as enemies. Your coursework builds foundations, your side projects build confidence. Balance both instead of neglecting one for the other.


r/GetCodingHelp • • Feb 15 '26

Google snake automation

1 Upvotes

I'm trying to write code for google snake trying to make it to where its completely automated by ai, making its own moves and avoiding walls and avoiding itself. I know its dumb but im trying to run one of those tiktok lives where it just plays on its own while people send in gifts and then in turn the gifts can spawn the apples the snake eats. I've seen a lot of success on this watching other peoples lives. Do i need to write out a whole code for this or is there something out there already built and ready for automation? I just spent 2 hours researching and trying to write the code myself but it wasn't working when I tried to check my progress through localhost. Please help!


r/GetCodingHelp • • Feb 10 '26

Programming Languages Java or Python: Which language to choose as a student?

19 Upvotes

As a student, choosing between Java and Python can feel confusing because everyone gives strong opinions. From a learning standpoint, Python is often easier to start with because the syntax is simple and lets you focus on problem-solving instead of boilerplate. Java, on the other hand, forces you to think more about structure, types, and design early on, which can be frustrating at first but builds strong fundamentals that help later in your career.

The mistake many students make is treating this choice as permanent. It isn’t. What matters more is learning one language well enough to understand core concepts like loops, functions, OOP, and debugging. Once that foundation is solid, picking up a second language becomes much easier.

If you’re trying to decide based on use cases, this breakdown might help:
https://codingzap.com/java-vs-python/

If you’re a student right now, which one are you learning and what’s influencing that choice?


r/GetCodingHelp • • Feb 10 '26

Resources & Recommendations I made a website to learn code without much reading

10 Upvotes

It's similar to the other ones like codecademy or boot.dev but those ones I find kind of annoying especially as an intermediate developer. Having to read through so much documentation just to get started learning is a bit of a roadblock.

It's not a total replacement for those though, I understand the use of going deep into all the intricacies of your language if you want to not make spaghetti. But it does what it does. Any feedback is great (:

https://tryingtocode.com/learn


r/GetCodingHelp • • Feb 09 '26

AI & Tools Six months ago, I only knew GitHub as a place to copy code the night before a deadline. Then I accidentally discovered something that changed everything.

0 Upvotes

So 6 months ago my entire GitHub workflow was pretty basic. Project due tomorrow? Download a few repos, see which one actually runs, and copy whatever works. That was literally it.

I genuinely thought that's all GitHub was for. Just a place to find code when you're stuck.

Then something happened that completely changed how I see it.

So I started building this Excel thing, and honestly, it got messy real quick. I spent like 2 weeks trying to optimize everything, and the code just kept getting worse.

Then one random evening, I'm just chatting with ChatGPT about random stuff. It suggests some GitHub repo with like 20 stars or something. I copied the link, threw it in Cursor, and didn't even read what it does. Just wanted to see what happens.

The thing made my code 50-60% faster. I'm sitting there like wtf just happened.

I compared both versions and realized the whole architecture was different. Like way better. And I'm just a college student, there's no way I could've thought of building it like that. Even with all these AI tools, getting to that level is hard.

That's when I realized there are probably tons of repos like this just sitting there that nobody knows about. Could literally change how you build stuff, but you'll never find them.

So I made this thing called Repoverse. It's basically Tinder for GitHub repos. You swipe through projects for 5 mins instead of doomscrolling and actually discover cool stuff in your field.

Completely free,.

repoverse.space

Let me know what you think as dev


r/GetCodingHelp • • Feb 07 '26

Beginner Help 3 tips that actually helped me learn programming (and might help you also)

18 Upvotes

When I was learning coding in my college days, following these 3 things helped me retain my concepts. Sharing these here:

  1. Learn to read errors calmly. Most of us, in our early learning days, panic when code breaks, but error messages are often telling us exactly what’s wrong. Treat them like hints, not failures.

  2. Build before you feel ready. You don’t need to “finish” a course to start a project. Even messy, half-working programs teach more than perfect notes.

  3. Explain your code out loud (or add comments in the code). If you can explain what your code is doing in simple words, you understand it. If you can’t, that’s where to focus next.


r/GetCodingHelp • • Feb 03 '26

Career & Roadmap Grades vs Skill

11 Upvotes

Grades matter, but they’re just one of the things that makes someone job-ready. What actually helps in the long run is building a small set of solid skills and being able to explain how you solve problems. It could be through projects, internships, or even assignments you truly understand. Many students wait until their final year to think about this, when starting earlier (even slowly) makes everything less stressful later. If you’re a student right now, what’s one skill you’re trying to build alongside your coursework?


r/GetCodingHelp • • Feb 02 '26

Beginner Help I spend 30 hours since 1pm at January 31st (I know couldn’t get work dotnet run via WSL2 Terminal (economy simulator Roblox revival GitHub has services on it) I’m new to software engineer now

Post image
0 Upvotes

I don’t know maybe I gives me error on dotnet run (sorry my bad English)


r/GetCodingHelp • • Feb 01 '26

Need help with Learning

Thumbnail reddit.com
3 Upvotes

r/GetCodingHelp • • Feb 01 '26

Resources & Recommendations Need help with Learning

0 Upvotes

I am a Full stack developer and wanting to learn system design and DevOps. There are so many online resources but I am also into books now a days. Any suggestions which books would be best to learn these two. Please mention online resources and books as well which would be best as I am begineer to both


r/GetCodingHelp • • Jan 31 '26

Programming Languages Learning C as a beginner doesn't have to be painful.

1 Upvotes

A lot of beginners avoid C because it looks “hard,” but the real issue is usually how it’s taught. When you break it down step by step, starting with basics like variables, loops, and functions, and only then moving to pointers and memory...it then becomes much more manageable. C actually helps you understand how programming works at a deeper level, which pays off later no matter what language you use.

We put together a simple, beginner-focused guide for learning C in a structured way here:
https://codingzap.com/learn-c-in-easy-steps/

If you’re learning C right now, what’s been the most confusing part so far?


r/GetCodingHelp • • Jan 28 '26

Resources & Recommendations Where should I learn System Design (HLD + LLD) properly?

12 Upvotes

Hey Everyone,

I am a full-stack developer (React, Node/Express, Go, PostgreSQL, Docker, real-time apps) and now want to get serious about System Design.

I want to learn both:

  • HLD → scalability, databases, caching, load balancers, microservices, etc.

  • LLD → clean class design, OOPs, design patterns, real-world problems (parking lot, ride sharing, etc.)

There are too many resources online, so I’m confused where to start.

What are the best books/blogs/repos/channels to learn System Design in a structured way (for interviews + real-world knowledge)?

Would love suggestions and roadmaps from people who have already done this


r/GetCodingHelp • • Jan 27 '26

Discussion As a student, what worries you most about a coding career?

16 Upvotes

As a student, worries about a coding career usually go beyond just learning a language. A big concern is whether the skills you’re learning today will still matter tomorrow. With fast-changing technologies, AI tools, and new frameworks popping up constantly, many students fear they’ll invest time in the “wrong” stack and fall behind before they even graduate.

Another common worry is bridging the gap between college and real jobs. Students often wonder if assignments, grades, and basic projects are enough for internships or placements, or if companies expect far more practical experience. Add to that the pressure of competition, imposter syndrome, and unclear career paths (DSA vs projects, specialization choices), and it’s easy to feel overwhelmed.

What worries you the most right now and how are you dealing with it?


r/GetCodingHelp • • Jan 27 '26

How to find multiple social media accounts of the same company?

9 Upvotes

Hi, Im trying to find multiple social media accounts of the same company across regions, productline, customer support etc. I have been looking into different options and OSINT standsout. Are there any methods or websites you'd recommend to look into or any advice on how to navigate will be helpful


r/GetCodingHelp • • Jan 26 '26

Project Guidance Best Resource for PyTorch

Thumbnail
youtu.be
1 Upvotes

Hey, I need proper resource to learn PyTorch. I stumbled upon this video on YouTube by freeCodeCamp, so is this worth it ?

Also, I need other resource for the same cause and I am open to suggestions

Purpose: I want to make a project that uses PyTorch for LLM training.


r/GetCodingHelp • • Jan 25 '26

Resources & Recommendations Made this for anyone looking for free learning resources

0 Upvotes

I've been seeing a lot of posts here from people who want to learn Python but feel stuck on where to actually begin or go next. I built some courses and learning tracks that take you from writing your first program through working with data, databases, and visualization—things that actually come up in real projects.

There are free credits on every account, more than enough to get through a couple courses so you can just focus on learning.

If this helps even a few of you get unstuck, it was worth it.

https://SeqPU.com/courses


r/GetCodingHelp • • Jan 24 '26

Beginner Help Not sure what Java project to build next? This might help!

3 Upvotes

A lot of students reach a point where they know Java basics but get stuck on the question, “What project should I actually build?” Tutorials only go so far, and random ideas often feel either too small or way too complex. Choosing the right project can make a big difference in how confident you feel moving forward.

We put together a list of Java project ideas that are meant to bridge that gap. Projects that push you beyond syntax and into real problem-solving, without being overwhelming. They range from beginner-friendly systems to slightly more advanced, real-world style applications. If you’re looking for inspiration or trying to figure out what’s a “good” next step, you can check it out here:
https://codingzap.com/java-project-ideas/