r/GetCodingHelp • • May 03 '26

Can do coding services (I'm bored)

2 Upvotes

r/GetCodingHelp • • Mar 12 '26

Amazon, my SDE onsite interview Experience

2 Upvotes

Amazon SDE Onsite Interview Experience (5 Months Experience) – Need Advice on Bar Raiser Round

Got a mail for the onsite interview, and a form was shared to choose the location (Bangalore/Hyderabad). After filling out the form, I got a call from HR asking if I was available on the following date.

Round 1 (Onsite) – 1 hour

Two DSA questions.

Question 1: Similar to Rotting Oranges

Solved it using BFS.

Follow-up: Can we optimize it?
Basically, the interviewer didn’t want me to use a visited array.

Question 2: Solve two string DP/hash problems

Started with the brute force approach, then optimized it.

At the end, there were 2 Leadership Principle (LP) questions.

Interviewer seemed satisfied.

Round 2 (Onsite) – 1 hour

DSA Question: Something similar to Two Sum but in a Binary Tree.

Solved it using brute force, and in the follow-up optimized it using a map.

Second question (follow-up):
If the tree is a BST and we are not allowed to use a map, how would you solve it?

Solved it after receiving a hint. The interviewer seemed satisfied.

Then there were 2 LP questions.

Round 3 (Virtual) – 1 hour

DSA Question: Reverse the edges of a directed graph.
(I had to write the entire code from scratch — from taking input to printing the output — in an online compiler.)

Solved it.

LLD Question: Asked me to design 2 features from my past experience.

Got some follow-up questions. I completed the first feature, but there was no time left for the second one, so the interviewer asked me to leave it.

Ended with 2 LP questions.

Round 4 – Bar Raiser (Virtual) – 45 minutes

The interviewer mentioned at the beginning that this would be a pure behavioral round (Leadership Principles only).

It didn’t go as well as I expected.

He asked me to describe a complex problem I solved in my past experience. I had prepared stories in advance, but at the end of my answer he smiled and said:

“It doesn’t sound very complex to me.”

I dont know what he was expecting. At that point, I felt like I might already be rejected.

After that, he asked 3 more LP questions with follow-ups.

Verdict: Pending

Experience: 5 months
College: NIT (Tier 2)

Question:
If the Bar Raiser round doesn’t go very well, what are the chances of still getting selected? Would appreciate any insights from people who have gone through a similar experience.


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 • • Jan 21 '26

Beginner Help Beginner trying to learn how to use python, and following a step-by-step guide to build a cypher.

Post image
2 Upvotes

Where do I place upper.()? the guide is pretty specific where I place it, and I cant get to the next step if I dont figure this out. Can you help me?


r/GetCodingHelp • • Dec 10 '25

Programming Languages What’s the hottest programming language right now?

2 Upvotes

With so many languages trending, which do you think gives you the most opportunity and feels the hottest in the coding world today?

34 votes, Dec 17 '25
8 TypeScript/JavaScript
6 Go
7 Rust
11 Python
2 Swift

r/GetCodingHelp • • Nov 02 '25

Career & Roadmap How do I ensure I’m learning the right way without a senior dev to guide me?

2 Upvotes

Hi all, I need some advice.

I have been working part-time at a local cybersecurity startup while continuing studies at university. I am a self-taught programmer, and our team does not have any senior developers; others are either at my level or less experienced. The CEO is knowledgeable in cybersecurity but not much in backend or system design.

When I joined, the codebase was really messy, just like a toy project someone had built while he was learning. No message queues, heavy tasks blocking the main thread, random initialization, poor structure, and zero error handling. So, I refactored a lot of things, moving the CPU-heavy tasks into workers, adding message queues, Dockerizing the system, cleaning up the architecture.

Here's where I'm stuck: I learn everything through research, AI tools, and reading blogs. I don't just copy code; I ask questions, try to understand the architecture, evaluate pros/cons, and debug deeply. But often, I fear that not having a senior developer reviewing my work will cause me to develop bad habits or skip important nuances.

I've tried applying for other jobs, but most are looking for someone more experienced. For now, I will be staying here and do my best to learn and improve in my post.

Now, how can I be sure that I am moving in the right direction without a senior to guide me? Any tips or strategies from those who have been in a situation similar to mine are very welcome.


r/GetCodingHelp • • Oct 26 '25

Others Sunday Check-In: How’s your coding week been?

2 Upvotes

Hey everyone, it’s Sunday! Time to pause and reflect a bit.

How did your coding go this week? Did you finish an assignment, fix a bug, or finally understand a tricky concept? Or maybe it was one of those weeks where nothing made sense.


r/GetCodingHelp • • Oct 14 '25

Imposter Syndrome While Learning to Code

2 Upvotes

Ever felt like everyone else “gets it” except you? Like no matter how much you study, code, or debug, you’re still faking it?

Imposter syndrome hits hard for a lot of students, especially when you see others building projects or solving DSA problems with ease. But truth is, almost every good programmer has felt that way at some point.

What’s something that helped you deal with that feeling? Or if you’re still going through it what part of coding makes you feel most unsure?

Let’s make this thread a space to talk openly about it. No judgment, just real experiences.

I’ve seen hundreds of students go through this phase while learning… and no, it’s not proof of failure, it’s proof you’re growing.


r/GetCodingHelp • • Oct 03 '25

AI & Tools What’s Your Favorite "Hidden Gem" Tool for Coding?

2 Upvotes

Every developer has that one tool or website that saves them hours of frustration but isn’t widely known. Could be a debugger, snippet manager, code formatter, or even a productivity app.

Let’s share them so more people can benefit!! Drop your favorite coding tools below 👇


r/GetCodingHelp • • Sep 25 '25

Insights Optional Parameters in Java & How Do You Handle Them?

2 Upvotes

Unlike Python or JavaScript, Java doesn’t directly support optional parameters in methods. But there are multiple ways developers handle this:

  1. Method Overloading: Define multiple versions of the same method with different parameter lists.

void greet(String name) {

System.out.println("Hello " + name);

}

void greet() {

System.out.println("Hello Guest");

}

2. Using Default Values with Objects: You can pass null or a special value and handle it inside the method.

3. Varargs: Useful if you want flexibility with the number of arguments.

void printNumbers(int... nums) {

for (int n : nums) System.out.print(n + " ");

}

4. Builder Pattern: Often used in real-world projects when you need readability and flexibility.

Each approach has its pros and cons. Overloading works fine for small cases, but for bigger projects, Builder Pattern makes code cleaner.

📖 Full breakdown with examples here:
👉 Optional Parameters in Java

What’s your go-to way of handling optional parameters in Java?


r/GetCodingHelp • • Sep 24 '25

Discussion What’s the First Time You Felt Like a “Real Programmer”? 👨‍💻

2 Upvotes

Not when you wrote your first “Hello World”… but maybe when you debugged for 3 hours and finally fixed a bug, or when you built something your friends could actually use.

For me, it was when I made a tiny project work end-to-end (input → process → output).

What was your “real programmer” moment?


r/GetCodingHelp • • Sep 14 '25

Coding deadlines stressing you out? Try this hack!

2 Upvotes

Many students often say to me that their assignments “jump” from easy to hard overnight. Here’s what I tell them:

✅ Break down the problem into smaller tasks.
✅ Write pseudocode first, then translate it step by step.
✅ Don’t chase perfection on the first try — get a working version first, refine later.

Consistency > cramming. Even short daily coding practice beats last-minute stress.


r/GetCodingHelp • • Sep 13 '25

Should you focus on DSA or projects? Here’s how to balance both.

2 Upvotes

Every student faces this choice. While it is important to have a solid resume showcasing your skills and quality projects, it is also necessary to focus on tackling problems during your interviews and coding assessments.

So, which one should you focus on? The answer is: both. How?

💡 The trick is balance:

  • Spend 1 hour/day on DSA to build problem-solving skills.

  • Use weekends for longer project sessions.

  • Pick projects that actually showcase your skills (APIs, CRUD apps, small games). Your portfolio + DSA prep together make you stand out in interviews.

Remember to stay consistent and reward yourself for small achievements as well. This will keep you motivated to hustle.


r/GetCodingHelp • • Jun 23 '25

5 things I wish I knew when I started coding

2 Upvotes

Hi everyone, I created this community to help programming students learn coding without getting stuck or overwhelmed. Since this is the first post on this subreddit, I wanted to tell you about the 5 things that I realised in my journey as a coder and a mentor.

  1. Don't stress about writing the "perfect" code: In the beginning, just focus on writing code, even if it is messy...it's the best way to learn.

  2. Errors are important: Each error will help you learn something. Learn to google your errors rather than asking AI to fix the code for you.

  3. You don't have to master everything all at once: Start slow, build consistently! Pick one path and work on mastering one skill rather than shallow multitasking. Once you feel you can build a project using that skill, try something new but make sure you are revising the old concepts along the way.

  4. Tutorials help, projects teach: Project based learning is the key! You can always fill the gaps with video tutorials.

  5. Ask the right questions: Whenever you feel stuck, ask your doubts. Seriously. Even if you feel it's a basic question, don't hesitate to ask. This sub is also a safe space where you can post beginner questions without judgment.

So, tell me, is there something that you wish you knew sooner?


r/GetCodingHelp • • Oct 11 '26

Is it possible to connect a blind box style twitch widget to an external website or app

Thumbnail reddit.com
1 Upvotes

r/GetCodingHelp • • Aug 08 '26

Beginner Help How do I use images from my files folder in html?

1 Upvotes

I learned how to do the whole src img thing, but does that still apply to an image that exists solely on my device, and if so, how do I even input that? All I know are the basics, and I do use GitHub. The website's just an art portfolio so it doesn't need to look special, just have my art on it.


r/GetCodingHelp • • Aug 03 '26

Need guidance for the final year project

Thumbnail reddit.com
1 Upvotes

r/GetCodingHelp • • May 03 '26

Does anyone know why this is happening?

1 Upvotes

I tried to make a bunch of actors move around a central actor as if they were all the same actor but they seem to be spinning around? I don’t know why this is happening! Please help! Sorry if this isn’t the right place for this, I am using Castle - Make and Play for this.


r/GetCodingHelp • • Apr 14 '26

Project Guidance Just started Unity (help)

Thumbnail reddit.com
1 Upvotes

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 • • 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 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 21 '26

Beginner Help Whats wrong with my code

Post image
1 Upvotes

It works normally -(without but the system didn't let me pass he wants me to try again (it wants me to use loop and the variable in the loop) help pls

note: the turtle can't turn


r/GetCodingHelp • • Jan 19 '26

AI & Tools Best LLM for Image and Text Generation

Thumbnail reddit.com
1 Upvotes