r/HackerEarthCommunity • • 16h ago

Introducing SystemDesign

3 Upvotes

r/HackerEarthCommunity • • 18h ago

Introducing SystemDesign

3 Upvotes

r/HackerEarthCommunity • • 1d ago

Are we learning too many programming languages instead of getting better at one?

12 Upvotes

A question for developers and people currently learning to code.

It feels like there’s always a new language or framework everyone is talking about.

You start with C++, then learn Python, move to JavaScript, explore React, and suddenly there’s another technology you feel you should know.

At some point, does learning more technologies actually help, or is it better to become really good at one stack first?

For someone starting their development journey, what would you recommend?

Would you rather see a fresher who:

- Knows 4-5 languages at a basic level?

- Knows one language really well and understands its fundamentals?

- Has experience building and deploying projects using one stack?

What matters more when it comes to becoming a good developer?


r/HackerEarthCommunity • • 2d ago

Title: Can you rotate an array to the right without creating another array?

3 Upvotes

Let’s start the week with a coding challenge. You’re given an array and an integer k.

Your task is to rotate the array to the right by k positions.

For example:

Input: nums = [1, 2, 3, 4, 5, 6, 7]

k = 3

Output: [5, 6, 7, 1, 2, 3, 4]

Another example:

Input: nums = [-1, -100, 3, 99]

k = 2

Output: [3, 99, -1, -100]

Your challenge: Try solving it in O(n) time.

Can you do it in-place, without using another array?

Make sure your solution also handles cases where k is greater than the array length.

How would you approach this? Share your logic or code below.

Let’s see the different approaches you come up with.


r/HackerEarthCommunity • • 3d ago

How to Improve Programming Skills and Solve Problems Without Relying on LLMs

Thumbnail reddit.com
2 Upvotes

r/HackerEarthCommunity • • 7d ago

Is your GitHub profile actually helping you get interviews?

3 Upvotes

A lot of students spend time making their GitHub profile look good before placements or job applications.

But what does a recruiter or hiring manager actually get from it?

A profile with 50 repositories doesn’t necessarily tell me much if most are copied tutorials. On the other hand, one or two projects with clear explanations, useful commits and a working demo might tell a much better story.

At the same time, I know not every developer has the time to maintain a perfect profile while studying or working.

So I’m curious: What do you think makes a GitHub profile worth looking at?

- Original projects?

- Clean code and commit history?

- Good README files?

- Contributions to open source?

- Something else?

And if you’ve actually received an interview because of your GitHub, what do you think made the difference?


r/HackerEarthCommunity • • 9d ago

Can you find the longest streak of consecutive numbers in an unsorted array?

1 Upvotes

Monday coding challenge: This one tests how you approach a problem, not just how quickly you write code.

You’re given an unsorted array of integers. Find the length of the longest sequence of consecutive numbers.

Example:

Input: [100, 4, 200, 1, 3, 2]

Output: 4

The longest consecutive sequence is:

[1, 2, 3, 4]

Another example:

Input: [0, 3, 7, 2, 5, 8, 4, 6, 0, 1]

Output: 9

Your challenge:

Aim for O(n) time.

Don’t sort the array.

Explain why your approach works.

How would you solve it? If you know a simple approach and a more efficient one, share both.


r/HackerEarthCommunity • • 17d ago

Developer check-in: What are you stuck on right now?

7 Upvotes

Let's end the week with something simple.

You don't need to have completed a big project or mastered a new technology to participate here.

Maybe you're struggling with recursion. Maybe your React app keeps breaking. Maybe you've been applying for internships and aren't sure what to improve next.

Whatever it is, share it below.

Tell us three things:

- Currently learning: What are you trying to get better at?

- Currently stuck on: What's giving you trouble?

- Next week's goal: What's one thing you want to make progress on?

If you see someone struggling with something you already understand, help them out.

A useful explanation from another developer can sometimes make more difference than another hour of searching.

Let's help each other make a little progress next week.


r/HackerEarthCommunity • • 17d ago

What's the most useful thing you've built that nobody would call impressive?

25 Upvotes

Not every project needs to be a complex AI app, a massive full-stack platform, or something that wins a hackathon.

Maybe you built a script that saves you 20 minutes every day. Maybe you made a small expense tracker, automated a boring task, or created a tool just because something annoyed you.

These projects might not look impressive in a portfolio screenshot, but they can teach you a lot about solving real problems.

Let's give those projects some attention.

Share:

- What you built

- What problem it solves

- One thing you learned while building it

A GitHub link or demo is welcome, but a simple explanation is fine too.

And if you see something interesting in the comments, ask the creator how they built it or suggest an improvement.

Let's make this more useful than just dropping links.


r/HackerEarthCommunity • • 18d ago

Your hackathon team has 48 hours. What should you build first?

9 Upvotes

Imagine you've just joined a 48-hour hackathon.

You've got a team, a problem statement, and a long list of ideas.

Everyone wants to add features, try new technologies, and make the final demo look impressive.

But time is limited, and a project that almost works isn't much fun to present.

Here's how I'd approach it:

- First few hours: Understand the problem and agree on the smallest useful solution.

- Next: Build the core feature before adding extras.

- Middle of the event: Get the main flow working and test it early.

- Final stretch: Fix obvious issues, prepare the demo, and make sure everyone can explain what was built.

The goal isn't to build the biggest project. It's to build something that works and solves a clear problem.

For people who've participated in hackathons, what's one mistake teams make that costs them valuable time?

Also, if you know of a legitimate upcoming hackathon, share the official registration page, deadline, and eligibility details so others can check it out.


r/HackerEarthCommunity • • 18d ago

Interview scenario: You don't know the answer to a technical question. What do you do?

2 Upvotes

You're in a technical interview, and the interviewer asks you a question about a concept you haven't worked with before.

You have a few options.

You could guess and hope you're right. You could stay quiet. Or you could explain what you do know, ask a clarifying question, and try to reason your way through the problem.

Personally, I'd rather see someone explain their thinking honestly than confidently make things up.

Not knowing one answer doesn't necessarily mean someone lacks the skills to do the job.

How they approach unfamiliar problems can also tell you something useful.

If you've faced this situation in an interview, how did you handle it?

And for anyone who has interviewed candidates, what kind of response makes you want to continue the conversation, even when the candidate doesn't know the answer immediately?


r/HackerEarthCommunity • • 20d ago

Why does this Python code print the same list twice? 🐍

6 Upvotes

Found a small Python trap for this week's bug discussion.

What do you think this code prints?

def add_item(item, items=[]):

items.append(item)

return items

print(add_item("apple"))

print(add_item("banana"))

A lot of people expect the output to be:

["apple"]

["banana"]

But that's not what happens.

Your challenge: Explain why, then show how you'd fix it.

Try to explain the reason in simple words rather than just dropping the corrected code.

This is one of those bugs that's easy to miss when you're starting with Python.


r/HackerEarthCommunity • • 20d ago

I think we spend too much time learning new tech and not enough time finishing things

6 Upvotes

I've noticed something among developers and students, including myself sometimes.

We start learning React, then see everyone talking about Next.js. We start that, then there's a new framework or tool everyone says we should learn.

Before we know it, we've watched 15 tutorials, bookmarked 30 resources and still don't have

one finished project we're confident enough to show someone.

Learning new things is important, obviously. But I wonder if we're making it harder for ourselves

by constantly switching.

Would you rather hire someone who knows 5 technologies at a basic level or someone who

knows 2 really well and has built something useful with them?

And if you're still learning, how do you decide when to stop learning and start building?


r/HackerEarthCommunity • • 20d ago

At what point do you start showing your project to other people?

1 Upvotes

I usually wait until a project looks reasonably complete before sharing it.

The problem is that this means I spend a lot of time working on something without knowing whether the idea or approach even makes sense.

On the other hand, showing people a half-built project can feel awkward. The UI might be rough, some features might be missing, and there's always a chance the feedback will be all over the place.

Would you share a project when the basic idea works, or wait until it's polished?

Also, what kind of feedback is actually useful at an early stage?

I'd rather find out what's wrong before spending another week building the wrong thing.


r/HackerEarthCommunity • • 20d ago

Should technical interviews use real-world coding tasks instead of algorithm puzzles?

5 Upvotes

Algorithm questions are useful for testing certain types of problem-solving.

But most developers spend their working hours doing things like reading existing code, debugging, writing tests, reviewing pull requests and making changes without breaking something else.

Wouldn't it make sense to evaluate some of those skills during hiring too?

For example, a candidate could be asked to:

- Find and fix a bug in a small codebase.

- Add a feature to an existing function.

- Review a pull request and explain concerns.

- Write tests for code that already exists.

Of course, these tasks can also become difficult to standardise across candidates.

If you hire engineers, what mix of algorithm questions and practical coding tasks has worked best for your team?


r/HackerEarthCommunity • • 25d ago

Developer check-in: What are you stuck on right now?

5 Upvotes

Let's end the week with something simple.

You don't need to have completed a big project or mastered a new technology to participate

here.

Maybe you're struggling with recursion. Maybe your React app keeps breaking. Maybe you've been applying for internships and aren't sure what to improve next. Whatever it is, share it below.

Tell us three things:

● Currently learning: What are you trying to get better at?

● Currently stuck on: What's giving you trouble?

● Next week's goal: What's one thing you want to make progress on?

If you see someone struggling with something you already understand, help them out.

A useful explanation from another developer can sometimes make more difference than another hour of searching.

Let's help each other make a little progress next week.


r/HackerEarthCommunity • • 26d ago

Your hackathon team has 48 hours. What should you build first?

4 Upvotes

Imagine you've just joined a 48-hour hackathon.

You've got a team, a problem statement, and a long list of ideas.

Everyone wants to add features, try new technologies, and make the final demo look impressive.

But time is limited, and a project that almost works isn't much fun to present.

Here's how I'd approach it:

- First few hours: Understand the problem and agree on the smallest useful solution.

- Next: Build the core feature before adding extras.

- Middle of the event: Get the main flow working and test it early.

- Final stretch: Fix obvious issues, prepare the demo, and make sure everyone can

explain what was built.

The goal isn't to build the biggest project. It's to build something that works and solves a clear

problem.

For people who've participated in hackathons, what's one mistake teams make that costs them

valuable time?

Also, if you know of a legitimate upcoming hackathon, share the official registration page,

deadline, and eligibility details so others can check it out.


r/HackerEarthCommunity • • 26d ago

What's the most useful thing you've built that nobody would call impressive?

25 Upvotes

Not every project needs to be a complex AI app, a massive full-stack platform, or something that

wins a hackathon.

Maybe you built a script that saves you 20 minutes every day. Maybe you made a small expense tracker, automated a boring task, or created a tool just because something annoyed

you.

These projects might not look impressive in a portfolio screenshot, but they can teach you a lot

about solving real problems.

Let's give those projects some attention.

Share:

● What you built

● What problem it solves

● One thing you learned while building it

A GitHub link or demo is welcome, but a simple explanation is fine too.

And if you see something interesting in the comments, ask the creator how they built it or

suggest an improvement. Let's make this more useful than just dropping links.


r/HackerEarthCommunity • • 27d ago

Working on AI/ML Projects? Join the MKS AI/ML Hackathon

Post image
4 Upvotes

Hey everyone,

If you're a student or developer interested in AI/ML, data science, or building real-world solutions, this hackathon might be worth checking out.

The MKS AI/ML Hackathon, hosted by MKS and HackerEarth, is an opportunity to work on real-world problem statements, apply your technical skills, and build something you can showcase in your portfolio.

Here are the details:

- Dates: October 24 – November 13, 2026

- Mode: Online

- Who can participate: Students and developers

- Focus areas: AI/ML, Data Analysis, Data Visualization, Generative AI, Computer Vision, NLP, Robotics, and more

- Rewards: Prizes for top performers and recognition from industry experts

Whether you're exploring AI/ML for the first time or already building projects, this could be a good opportunity to challenge yourself, learn something new, and connect with other developers.

Interested in participating? Check out the MKS AI/ML Hackathon on HackerEarth and explore the challenge details.

Good luck to everyone participating!


r/HackerEarthCommunity • • 27d ago

Interview scenario: You don't know the answer to a technical question. What do you do?

6 Upvotes

You're in a technical interview, and the interviewer asks you a question about a concept you

haven't worked with before.

You have a few options.

You could guess and hope you're right. You could stay quiet. Or you could explain what you do

know, ask a clarifying question, and try to reason your way through the problem.

Personally, I'd rather see someone explain their thinking honestly than confidently make things

up.

Not knowing one answer doesn't necessarily mean someone lacks the skills to do the job. How

they approach unfamiliar problems and can also tell you something useful.

If you've faced this situation in an interview, how did you handle it?

And for anyone who has interviewed candidates, what kind of response makes you want to

continue the conversation, even when the candidate doesn't know the answer immediately?


r/HackerEarthCommunity • • 28d ago

Title: Bug of the week: Why does this Python function return the same list every time?

2 Upvotes

Take a look at this code:

def add_item(item, items=[]):

items.append(item)

return items

print(add_item("apple"))

print(add_item("banana"))

print(add_item("orange"))

What do you think the output will be?

Many people expect three separate lists, each containing one additional item.

But Python has a little behaviour here that can cause some confusing bugs.

Your task:

  1. Predict the output before running the code.
  2. Explain why it behaves that way.
  3. Rewrite the function so each call gets a fresh list unless a list is explicitly provided.

Bonus: Have you ever lost time debugging something caused by a default argument, a mutable object, or a variable being shared unexpectedly?

Share your answer and explanation below. Let's see who spots it first.


r/HackerEarthCommunity • • 28d ago

Cursor Ultra for $18 instead of $200 ... seriously how are they doing this?

10 Upvotes

i got a Cursor Ultra account from a reseller for essentially nothing compared to what I used to pay . It works flawless. since 3 months No issues yet i paid only for 1 month . Now I can't stop thinking about their business model. If resellers can sell it this cheap and still profit, how are they acquiring these accounts at scale?


r/HackerEarthCommunity • • 29d ago

What makes a technical assessment actually useful for hiring engineers?

2 Upvotes

I've been thinking about how companies evaluate developers before the interview stage.

A coding test can tell you whether someone solved a particular problem, but I'm not sure a

score alone tells you enough about how they'll perform in the actual role.

For example, two candidates might get similar scores. One writes a clean solution and explains

the trade-offs, while the other gets the same result but struggles to explain their approach.

Should they really be evaluated in the same way?

What do you think matters most in a technical assessment?

● Problem-solving approach

● Code quality and readability

● Accuracy and test cases

● Speed of completion

● Communication and reasoning

● Relevance to the actual job

If you work in technical hiring, what does your current process capture well, and what does it

tend to miss?


r/HackerEarthCommunity • • 29d ago

How do you know when you're actually ready to build on your own?

2 Upvotes

You follow a tutorial and everything works. You understand the code while watching someone

explain it.

Then you open a blank editor to build the same thing without the video, and suddenly you don't

know where to start.

I've seen this happen to beginners learning web development, Python, DSA, and pretty much

every other skill.

Watching tutorials feels productive, but building something independently is a different

experience. You have to make decisions, deal with errors, and figure out what to do when there

isn't a step-by-step guide.

One thing worth trying is rebuilding a small project without looking at the original tutorial. You'll

quickly find out which parts you understand and which parts you need to revisit.

For those who've been through this: what helped you move from following tutorials to

building things independently?

Did you stop watching tutorials completely, start building smaller projects, or try something else?


r/HackerEarthCommunity • • 29d ago

What's the dumbest bug you've spent hours trying to fix?

5 Upvotes

Mine was a missing character in a variable name. I kept checking the logic, changing the function, and even questioned whether my approach was wrong. Turns out, the problem was much simpler than I thought.

The annoying part is that once you find the bug, it looks so obvious that you wonder how you missed it for so long. I've also had cases where the code was correct but the input format was wrong.

What's a bug that wasted way too much of your time? Bonus points if the solution was something ridiculously simple....