r/codinginterview • • Jun 24 '19

How can i find, Minimum Height of the tree , given its preorder and level order traversal, and the number of nodes?

3 Upvotes

i am preparing for my interviews and i couldn't solve it, so needed help

Prefered language java .


r/codinginterview • • Jun 01 '19

How to prepare for Big 4 companies?

3 Upvotes

I am about to sit for my placement interviews in 2 months. Can someone who has gone through this process recently or who knows well about the process shed some light on things I definitely need to do and need to avoid doing in these 2 months?

Also apart from Data structures and algorithms what other subjects do i need to do like DBMS, OS, CN ,OOP. And how important are they for interviews for me considering I am not from Computer Science background. Also if you guys know some really good resources for studying all these subjects please tell them.

Thank you


r/codinginterview • • May 28 '19

Prefix Sum Algorithm | Prefix Sum Array | Difference Array | EP2

Thumbnail
youtube.com
3 Upvotes

r/codinginterview • • Apr 13 '19

I committed to 4 coding tests this weekend & did not realize what I was getting into, what do I do now?

3 Upvotes

I’ve been a software engineer since 1995 (degree in CS) & am starting to look for a new job.

I’ve only been at 2 jobs this whole time, so I’ve been way way out of the loop on what’s going on with hiring practices apparently.

I just started applying for jobs on linkedin, I got 6 initial phone screening/interviews this week, and 4 of those have asked me to complete an online programming test.

At first I thought, great, I’ve been coding for 30+ years (if you count hs and college) so it should be easy. Wrong lolz, I took a look at the sample section of one of these and it was stuff I haven’t seen since college, plus a lot of tricky brain teaser (at least to me lolz) type questions. I failed miserably on the practice test I tried.

I looked into this some more, and apparently it’s normal to to spend 2-3 months preparing for these, which seems possible based on what I’ve seen. I’m not complaining, I’m willing to brush up, but it won’t be possible in the time frame I have.

I’m not sure what to do, I kind of committed to about 6 hours of testing in total which I am totally unprepared for. My choices seem to be:

  1. Call back the interviewers and tell them I’m dropping out, which sounds pretty dumb, especially since I know I’m qualified for the work.

  2. Take the tests anyway and flunk, which will also make me look bad, and maybe harm future chances?

  3. Stay where I’m at while I start practicing,

  4. Look for a non-coding job

Now that I’ve opened the can of worms of putting my resume out there I keep getting contacted roughly daily so it seems like opportunities are out there.


r/codinginterview • • Mar 29 '19

Round 2 of google internship interview and questionnaire

3 Upvotes

I completed the coding sample a few days ago and received an email about the questionnaire. I wanted to know if I get selected will the round 2 (mostly phone interview) will involve writing the code again or will they ask me questions about the concepts on programming?

Also if someone gets selected, after how long do they email for giving the round 2 after completing the questionnaire?


r/codinginterview • • Dec 21 '18

Been maintaining shit legacy code for last two years, need to get back on the interview horse. What are the cools kids using these days for prep?

3 Upvotes

Some CS background w/discrete math, data structures & algorithms courses under my belt but didn’t get CS degree.


r/codinginterview • • Sep 05 '18

Core Java Interview Questions collections

3 Upvotes

Hey everyone,

I recently uploaded an app on Play Store (there aren't any ads) on frequently asked questions in core Java Interview.

Could you guys be kind enough to give feedback on this?

Link - https://play.google.com/store/apps/details?id=com.gamesmint.javaone

Thanks for your time.


r/codinginterview • • Nov 01 '25

Preparing for a CoderPad SQL Interview

2 Upvotes

Hi all,

I’ve got a CoderPad SQL interview coming up soon and was given the CoderPad link ahead of time. When I opened the SQL tab, I saw a preloaded schema, which was like a basic sandbox with four tables.

Does this mean I'll be tested on the same schema during the CodePad interview?

Many thanks in advance.


r/codinginterview • • Oct 30 '25

Domain Expert Interviewing w/ Software

2 Upvotes

Hello. I’m a domain expert who is being head hunted to provide domain expertise at a big software company. First two interviews went well but they are springing a python technical interview on me. I can develop in python with the help of contemporary coding tools, but I’m no expert by any means. I made this clear in both interviews. What can I expect in the technical interview and how should I prepare?


r/codinginterview • • Oct 30 '25

Hirevue Coding Assessment

2 Upvotes

Just curious if leet wizard, leet pilot, or shader coder are detactable by hire vue, camera and audio will be on i am sure but its using hire vues ai thing to score me which is so unfair (Imo) and no person will be present


r/codinginterview • • Sep 20 '25

Issues with Amazon's online coding assessments.

2 Upvotes

Hey,

I just finished 90 minutes of completing two coding questions in Amazon's online assessment.
After submitting and moving forward, I noticed HackerRank navigated me back to their home screen and I wasn't navigated to continue the next phases of the assessment.

I tried re-entering the assessment page using the link, and it showed as I never submitted anything and had magically "restarted" after I already had answered the two questions.

I decided not to try and re-solve the new2 questions out of lack of time to dedicate to it, but rather try reaching some support from Amazon.

Unfortunately I could not find anyone to reach or any assistance email....

This morning I've logged in my assessment page again and it offered me to continue to the general behavior questions... I believe the "empty" test that was re-started is what happened to be submitted and not what I had answered.

DId anyone else encounter this issue? This was SO frustrating finding out both of my answers just vanished and there is nothing to do about it


r/codinginterview • • May 11 '25

Free live mock interviews from FAANG engineers

2 Upvotes

We're working on an AI interview product. To help test our product, we're looking for people that are actively practising LeetCode questions and looking to get some feedback. Alongside our AI, we have senior MAANG engineers that will provide you detailed feedback in exchange for yours on our product. Should take 30-45 minutes inclusive of feedback.

If interested apply here: https://docs.google.com/forms/d/e/1FAIpQLScMZ6OlZFMAaaez6FKZDax-tHAOQiK94c_8rqSQ2advPwdjCA/viewform?usp=sharing


r/codinginterview • • Dec 24 '24

Does this screening question even have the right answer as an option?

Thumbnail
gallery
2 Upvotes

r/codinginterview • • Oct 05 '24

Looking for an Experienced Study Partner to Ace Staff/Principal Engineer Interviews Together (5+ YOE)

2 Upvotes

Hi everyone,

I’m preparing for upcoming interviews focused on both coding (data structures and algorithms) and system design, targeting roles at the staff, senior staff, or principal engineer level. After several years in backend engineering, I’m excited to challenge myself with new opportunities at a higher level, and I believe collaborative study can be a game-changer.

I’m looking for a like-minded study partner—ideally with 5+ years of experience—who’s also preparing for these senior-level roles. The goal is to create a structured study routine: we would work on problems individually, then meet to discuss our approaches, share insights, and do mock interviews. This collaboration will help us gain deeper understanding, improve problem-solving, and maintain discipline throughout the preparation.

If you’re as passionate about taking the next leap in your career as I am, and think we could be a good fit for this journey, drop me a DM! Let’s support each other to ace these interviews!

Thanks!


r/codinginterview • • Sep 20 '24

Overcoming Coding Interview Performance Anxiety: The Strategies That Wor...

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Apr 22 '24

I haven’t coded in years, where do I start?

2 Upvotes

I’ve been a senior leader and been removed from day-to-day coding. Where do I start? Is it like riding a bike and just a matter of getting back in to it to pick it back up or has anything changed in the last 10 years? Is LeetCode a good resource?


r/codinginterview • • Apr 14 '24

First Python Interview Help

2 Upvotes

Hi, I have my first interview for a role involving programming on Wednesday. There’s no live coding, my invitation states “You will be presented a piece of code and we have a discussion around it.“ I have been practicing problem solving in Python on Leetcode, but I’m not sure what else I can be doing. If anyone has any ideas, suggestions or practice questions or anything really, it would be greatly appreciated as I want to do everything I can to increase my chance of getting this role. Thank you :)

*also a note this is a Data Science position


r/codinginterview • • Feb 07 '24

what are tech companies looking for?

2 Upvotes

what are tech companies looking for?

- build an interactive doordash

- offer doordash an upgrade for better usage (leave proof on resume)

- will this then mean to learn different programs?

- will this lead to six-figure companies barking at my resume to work for their company?


r/codinginterview • • Dec 24 '23

Looking for a partner to prepare DS/Algo for Coding Interviews

2 Upvotes

r/codinginterview • • Sep 30 '23

Starting Leet coding from beginner to expert

2 Upvotes

Try using trello-leetcoing75-scheduler.

Disclaimer: I created the repo. But I created it for this reason, to get into the habit of consistently doing Leetcode, at least one problem a day. To understand the problems and be able to reason through solutions and remember them months after looking t them.

I applied a learning strategy called spaced repetitive learning which I've used previously in university to help keep the problems in mind and ensure I understand the problem.

Why Spaced Repetition?

Enhanced Retention: It reduces the forgetting curve, ensuring that you remember algorithms and solutions for a longer duration.

Efficient Learning: Instead of cramming, spaced repetition promotes steady, incremental learning, which is proven to be more effective.

Adaptive: The technique adjusts to your learning pace. Topics you're familiar with will appear less often, while challenging ones will be reviewed more frequently.

Solving problems in right order is very important,

You might see question marked easy which isn't actually easy, the solution will be small, but sometimes, it isn't easy to come up with that solution if you haven't done simpler version of it, thus, it will be demotivating,

Blind 75 Leetcode Questions

This is an awesome list which is asked in interviews and is ordered by actual level of difficulty with prerequisites coming before harder questions, if you follow this, you'll feel interested, once you have done most of this, do problems in “similar questions" section below each problem till you master that category.

I also recently added a comment on each of the cards for the review period, with questions like the below, the idea is if you can answer these questions all or most by the end of the week for each of the problems, you probably know your stuff.


r/codinginterview • • Sep 10 '23

How do you practice coding interviews?

2 Upvotes

I know leetcode is good but it doesn't offer the full interview experience. Often times, I have struggled with just writing code on the spot and communicating with the interviewer... Guess the self serve practice is not enough..

Some of my friends have worked on this tool called www.trupeer.ai that solves this exact problem. It has DSA, system design interview options that seem quite good.


r/codinginterview • • Aug 01 '23

Need a roadmap about the Fintech industry

2 Upvotes

Hi everyone, I am a full stack web developer by profession and have worked on plethora of projects, however I really wanted to use my knowledge to expand my domain into something much more business oriented and therefore I decided to put myself into some Fintech based company.

The help here the I need is that how can one prepare for a SDE/SE role for a Fintech company?

What different things do they look in a person before recruiting them?

And lastly,

What are the additional technologies or framework I can learn to further gain an edge in an interview?


r/codinginterview • • Jul 14 '23

What is the actual use of interface in Java?

Thumbnail
java67.com
2 Upvotes

r/codinginterview • • Jun 20 '23

Detailed LeetCode Solutions with Clear Explanations

2 Upvotes

Hi Everyone,

I have started posting my solutions to the daily leetcode challenge on leetcode and I would really appreciate it if you guys would take a look at it and like the post if it helps you. I find that when I teach someone what I have learned then I have really internalized the logic and thinking behind the solution. Not to brag, but I do think that I am an excellent teacher and if you guys are stuck on a daily problem then I highly recommend looking at the solution that I have posted.

Here are the links to the past five days' problems

https://leetcode.com/problems/number-of-ways-to-reorder-array-to-get-same-bst/solutions/3649306/clear-explanation-of-an-easy-recursive-combinatorics-solution/

https://leetcode.com/problems/find-the-highest-altitude/solutions/3655268/clear-explanation-with-easy-linear-scan-solution/

https://leetcode.com/problems/make-array-strictly-increasing/solutions/3655394/clear-explanation-with-dynamic-programming-solution/

https://leetcode.com/problems/number-of-increasing-paths-in-a-grid/solutions/3655586/clear-explanation-with-2-d-dynamic-programming-solution/

https://leetcode.com/problems/k-radius-subarray-averages/solutions/3659007/clear-explanation-with-easy-sliding-window-solution/


r/codinginterview • • Jun 10 '23

Are there any alternatives to Triplebyte if you are planning to be a developer or software engineer?

2 Upvotes

I heard about triplebyte, which is a site that lets users skip to the final round of an interview with companies matched on Triplebyte if you pass an online quiz and clear the technical round of an interview that Triplebyte provides free of charge. However, I noticed the site is down and recently acquired by Karat, so I am wondering if there any alternatives free of charge that let users advance in the hiring process of companies like Triplebyte did?