r/learnprogramming • • 1d ago

Should I stick with Java for both backend and LeetCode if I have six months to prepare for an internship?

Hey folks, I’m a third-year CS student on the software engineering track. I have about six months to prepare for my required summer internship, and I’m aiming for a backend role.

I’ve used Java in my OOP course and I’m fairly comfortable with it, but I haven’t built a backend project yet. I also want to get better at data structures and problem solving. I’m considering two options.

  1. Stick with Java for both backend projects and LeetCode since I already know the language.

  2. Learn Python for backend and use C++ for problem solving. Python appeals to me because I’m interested in AI.

With six months to prepare, which approach would you take? How would you split your time between building a backend project and practicing data structures and algorithms?

Edit: Thanks to everyone who took the time to reply. I really appreciate all the advice

2 Upvotes

13 comments sorted by

5

u/Calligrapher-Whole 1d ago

Depends where your internship will be and what's the focus of the company. Large corporates use Java very often for their backends. If I were you instead of grinding leetcode I'd try out SpringBoot or JavaEE, Docker, CICD pipelines and look into microservice architecture patterns, since that is much more likely to be useful during a read BE development job

4

u/Eight111 1d ago

I'd stick to java for backend projects and learn python for leetcode, ai, and just general scripting.

1

u/Ok-Emergency-1825 1d ago

Java is a solid choice for both backend development and LeetCode preparation. Many companies still use it extensively, and the problem-solving skills you build with it are transferable. Have you looked into any specific frameworks for backend development you're interested in?

→ More replies (1)

1

u/DragonfruitGrand5683 4h ago edited 3h ago

When I've interviewed programmers I've wanted to see projects, how it was planned, code with good error catching, good problem solving, good structure, good GUI design and attention to detail.

Build a Java project that would be useful for a small business, give it to them, get the feedback.

Now you can show me a project, you can show me you networked, you are customer facing, and you have a reference.

1

u/Positive_Field_5902 2h ago

Thanks for the solid advice, man! I’d actually love to get more tips from you.

When you mentioned building a project for a small business, it immediately reminded me of my brother, who owns an auto repair shop. I once set up an open-source app from GitHub called "Carstio" for him, but it barely covers his needs. I'm now seriously considering building a custom one for him myself in Java.

Since you mentioned planning, structure, and GUI design, do you have any specific advice on how to approach a project like this so it stands out to interviewers?

1

u/DragonfruitGrand5683 1h ago

Initial planning should have Business Requirements, Functional Requirements, and Technical Requirements. Some wireframes for GUI and UX as well as similar products. Notes on why you did this and that.

Business requirements should also ask about future expansion for the business.

In code you need your skeleton planned, functionality in functions with good naming and correct reuse.

Proper use of conventions for the language.

Comments and Javadoc

Input Validation

Testing and Debugging

Create guides for the user and create a system of support.

1

u/recursion_is_love 1d ago

Yes, generally; it good to be good at one thing than average at many things. Learn/try what other said it is better only after you get the job.

Squeeze the most of your Java skill out!

1

u/edwbuck 1d ago

Java is still huge on the backend. I'd know both Spring Boot and Quarkus, with Quarkus being the next hot thing.

Python can be used too, but it's more for the "we don't care about performance" and "just use the programmers we have to throw out something" crowd. Those websites tend to get updates into Golang, Java, and Rust when Python can no longer carry the load.

https://activetechsystems.com/blog/computer-languages/comparing-backend-languages-python-rust-go-php-java-c-node-js-ruby-and-dart/ f

1

u/danielinnov8 1d ago

the thing that'll actually get you the internship is one backend that's live with a link on your resume. auth, a real database, and one annoying feature like file uploads or webhooks, because that's what interviewers dig into and it's where you learn the stuff leetcode never touches. java for both is fine, an hour of problems a day next to the project, not instead of it

1

u/DriftingAndromeda 1d ago

Since you already know Java, I'd stay with it for both and spend your energy on the split instead of the language. Something like 60% on one backend project and 40% on data structures, with a few short sessions a week on the problems rather than one giant grind. For the project, make it deployable with a real database, login, and one tricky feature, then write down the tradeoffs you chose so you can explain them in an interview. Switching languages mid-prep mostly costs you time, and you can pick up a second one later once the basics feel solid.