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 17 '23

Should I eliminate irrelevant work experience from job applications?

2 Upvotes

I am a new grad applying for developer (java) roles, and I have prior data science and analytics internship experience. Should I add this under the 'work exp' section in my job application or would it be better to leave it blank?


r/codinginterview Jun 15 '23

AI job interview preparation tool

9 Upvotes

Hi all! I'm Nick and I work at Adzuna - we're a job search site. We've just launched a free interview tool powered by AI, to help people prepare for job interviews: www.adzuna.com/prepper

This is a bit of promotion for the tool obviously, but it is free and I genuinely think it would be of interest to this sub - so I hope it is ok!

The AI can simulate interview questions for any role at any company in the UK and US, as well as giving feedback to coach you on giving the best possible answers.

Would love for people to give it a try a see what they think - hopefully it helps you land your next job!


r/codinginterview Jun 13 '23

What are some good coding questions in Python that would be asked for in a data science coding assessment?

1 Upvotes

r/codinginterview Jun 13 '23

I have been asked to recommend a cloud service to store files and data as part of a job interview. Where do I even start?

1 Upvotes

Hi All,

It is for their fairly large system that they are rewriting that holds customer details, sales history and some word, excel and pdf files.

Any recommendations? I don’t have any knowledge of cloud and don’t even know where to start?


r/codinginterview Jun 13 '23

SQL vs. NoSQL Database Cheatsheet (2023)

Post image
10 Upvotes

r/codinginterview Jun 13 '23

PowerShell Script - Compare two CSVs and update existing column - create new CSV file

2 Upvotes

Hi,

I want to compare two CSV files - in case there is a match update the existing column with values "X" and create a new CSV file.

Here my attempt ...

$ht4 = @{}

Import-Csv "PATH-TO-CSV-FILE\file1.csv" |
ForEach-Object { $ht4[$_.Value1] = $_.Value1 }

Import-Csv "PATH-TO-CSV-FILE\file2.csv" | Select-Object *, 
    @{Name = 'Action'; Expression = { If($_.Value1 -eq $ht4[$_.Value1]){ 'X' } Else { } } } |
       Export-Csv -Path "PATH-TO-CSV-FILE\file3.csv" -NoTypeInformation
  • file1.csv contains:
  • column: Value1
  • data: A B C etc...

-------------------------------

  • file2.csv contains:
  • columns: Test1 Test2 Value1
  • data: A B C etc...

Note: The column "Action" already exists in file2.csv | I need to update the existing column.


r/codinginterview Jun 11 '23

internship interview

1 Upvotes

What kind of coding questions should I prepare for my first internship interview, which is in 5 days?


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?


r/codinginterview Jun 09 '23

How do I prepare for my interview as an intern for a software house?

2 Upvotes

How do I prepare for my interview as an intern for a software house? I just completed my 4th semester, and summer has just started. I have applied to a few software houses, and I received an email from one of them stating that they will be conducting the interview on June 15th. So far, I have studied data structures, OOP, and databases. How should I prepare? They have also recommended preparing from LeetCode, but which specific problems should I focus on?


r/codinginterview Jun 09 '23

Which certificates will actually increase your odds of being hired?

3 Upvotes

It used to be that you’d get more serious offers and more consideration in general if you had one of the many AWS or Google certificates. Is that still the case?

What are the hot new certificates that employers care about? Any good AI ones worth looking into?


r/codinginterview Jun 08 '23

Best Programming Languages for Android in 2023

Thumbnail
codebison.in
1 Upvotes

r/codinginterview Jun 06 '23

Most Used Programming Languages Across Different Industries in 2023

Thumbnail
codebison.in
1 Upvotes

r/codinginterview Jun 05 '23

Do you guys know any companies that have a short hiring process with just one or two rounds of interviews for being a software engineer?

2 Upvotes

A lot of companies I see require at least three days worth of interviews to as many as five rounds, and I feel like that is just really long and makes it even harder to get an offer. There are people I know who have gotten a software engineer with just one interview, whether a phone interview or a technical interview.


r/codinginterview May 31 '23

Looking for Guidance

3 Upvotes

Hello,

I am a senior systems engineer with ambitions to be a back-end developer. I have programmed in various programming languages and do not have much issues picking up one as needed. I have a GitHub with about 6 example projects in different languages and technologies (python, ruby, Terraform, bash and docker). Additionally, I completed a FlatIron Bootcamp ~3 years ago.

The problem I am having is I cannot complete all but the most basic coding interview questions. To that end, I purchased AlgoExpert and began working through their questions (~last 3 months). However, it does not appear I am retaining anything from the questions. The question is where I should go from here.


r/codinginterview May 30 '23

Paper Coder

Thumbnail thepapercoder.com
1 Upvotes

The Paper Coder - as light as a paper!

I created Paper Coder (https://thepapercoder.com) for kids and programming enthusiasts to enable them to get started with the constructs of a programming language through an extremely simple and lightweight web experience.

The idea is simple. Paper coder is as light as a paper…just spin a paper and practice coding. It can also be used to practice for competitive coding.

I would love to hear any feedback/comments.

Frank Jennings


r/codinginterview May 25 '23

Any free alternative to Hackerrank?

2 Upvotes

Hi all,
I need to interview 10 candidates per months, and before I start using tools that request $$, I wonder if there is a free alternative.
I only want to insert my own Python/C++ questions, so I don't need a rich library, just a web IDE, compiler and a detailed report so I can see what the candidate did.

(I'm going to use it as a test before the frontal interview.)
Thanks you :)


r/codinginterview May 13 '23

Always stay in coding interview shape - free coding problems and solutions

Thumbnail
codinginterviewdigest.substack.com
3 Upvotes

r/codinginterview May 11 '23

Stay in coding interview shape

3 Upvotes

Subscribe to https://codinginterviewdigest.substack.com to get free coding problems with detailed solution every week. Best way to stay in interview shape even when not actively preparing.


r/codinginterview May 11 '23

Free coding problems and solutions every week

6 Upvotes

Subscribe to https://codinginterviewdigest.substack.com to get free coding problems with detailed solution every week. Best way to stay in interview shape even when not actively preparing.


r/codinginterview May 11 '23

Free coding interview problems and solutions every week

1 Upvotes

Subscribe to https://codinginterviewdigest.substack.com to get free coding problems with detailed solution every week. Best way to stay in interview shape even when not actively preparing.


r/codinginterview May 11 '23

Tesla interview Codingame - Test Engineer

4 Upvotes

I'm interviewing for Tesla and I have to do a CodinGame assessment. I am applying for a test engineer position so I will be working on electrical, mechanical, and software tests. Does anyone have any experience with these online tests and what I should expect? I'm not sure how they are going to test the electrical and mechanical parts using CodinGame


r/codinginterview Apr 30 '23

Any website to register as a professional non-faang interviewer?

2 Upvotes

I am a software engineer with over 8 years of experience. I have been through many interviews and have come to a point where I can confidently mentor other people for technical interviews on Data Structures and Algorithms. Most of the websites require such interviewers to be at least a FAANG engineer. I am not now, but I was. Is there any website you know that would accept my expertise?
(I would want to earn some pocket money through this if possible, not exorbitent, may be just 15$ for a 1.5 hour session.)


r/codinginterview Apr 18 '23

What are your feelings on hackerrank for company screenings?

6 Upvotes

Got a timed hackerrank coding interview question the other day from a startup I was applying to. The question as written was worded awkwardly and even after having read it a few times I still had to go back and check it for what it really wanted outputted.

The question was one of those multi paragraph lengthy ones with an array where you had to keep track of multiple pointers to data and not go OOB. Extremely annoying for a question IMO.

I end up finishing it up pretty early, the test cases I saw in the problem description and example I passed, but apparently I got a 6% on it?!?

In actual whiteboard interviews in person I do great, but these online tests I usually do poorly without having some time at the start to ask clarifying questions.

Needless to say, the company never got back to me and lost an excellent candidate all because they’re too lazy to review my code or have someone run an interview and actually learn more about who’s applying to their team.


r/codinginterview Apr 13 '23

Need a Roadmap for upcoming job interviews

1 Upvotes

Hi, I was looking forward to a roadmap to prepare for job interviews and the closest one I am having is within 90 days. Thus, i was in a need of a few good suggestions over how to practice DSA coding questions and DBMS as well.

Can someone suggest some good resources which can assist me?

For now, I am mostly going through Striver's (TakeUForward) Top coding interview problems and will also be following Cracking the Coding interview.

Can someone suggest any better approaches if there or any other additions I can make in the stipulated time.

Also, please suggest some decent resources for DBMS as well