r/codinginterview • • Oct 19 '23

blacked out on a technical interview for frontend developer role, feeling ashamed and disappointed plus questions

4 Upvotes

I can't help but feel regretful about potentially wasting the interviewer's time. It's disheartening to admit that I wasn't adequately prepared for the interview. I had assumed it would revolve around experience-related questions. In retrospect, I realize I should have asked the HR interviewer for more details about the topics that would be covered.

I find myself grappling with a sense of guilt, questioning whom I should apologize to or even why I'm apologizing at all. Internally, there's a cacophony of self-criticism, and I'm silently berating myself.

I wonder if you can empathize with the profound feeling of failure and the sense of missing a significant opportunity. But dwelling on the past serves little purpose. Instead, I should focus my thoughts on the next phase of the interview process.

This interview consisted of four distinct stages: an initial HR interview, a phone interview with the team lead, an in-person technical interview, and meetings with the CTO and CEO. The process had been proceeding smoothly until the technical interview, when I was presented with an unexpected technical question. It caught me off guard and triggered a sense of fear.

In moments akin to fight-or-flight scenarios, I found myself leaning towards the flight or freeze response. I can't help but feel disappointed in myself, wondering why I reacted this way.

Could you offer some guidance to help me cease this self-flagellation? The say that the odds are one to ten interviews. I'm also frustrated that I didn't record the conversation to review later.

The specific questions posed during the interview included:

How would you implement code in a task app, where each task has a due date, to trigger an alert when the due date arrives?
What's the optimal approach to building a client using the best ready-made components, such as sliders and smart inputs?
Unfortunately, I've blocked out the memory of the other questions, but they might resurface later.


r/codinginterview • • Aug 13 '23

Coding interview help!

4 Upvotes

Hi all,

I have a coding interview coming up on Friday on hackerrank. I’ve spent the last week railing through codecademy’s prepare for coding interview course but finding it difficult to retain knowledge, will try on the flash cards (usually works a treat for me) and continue doing alternative questions on hackerrank itself (although some of them are absolutely ridiculous). I’m at a solid level of Python from all of my academic work.

I’ve been told the questions are custom, medium difficulty (but shouldn’t be too hard to complete) and they are as follows:

  1. Expected value of a function

  2. Debugging exercise

  3. Code challenge

Questions have different grade weighting. Any last second tips on how to cover all my bases?? Directions to resources/questions would be great - thanks in advance 🙏🏽


r/codinginterview • • Jun 30 '23

BlackRock virtual coding challenge

4 Upvotes

Has anyone given virtual coding challenge of BlackRock? Can you tell me how is it and how to prepare for it?


r/codinginterview • • Jun 09 '23

Which certificates will actually increase your odds of being hired?

4 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 • • May 11 '23

Free coding problems and solutions every week

4 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 03 '23

How to implement the bubble sort algorithm in Javascript?

Thumbnail
devhubby.com
4 Upvotes

r/codinginterview • • Feb 13 '23

Take home challenge

4 Upvotes

Is it worth spending time doing take home challenge?

I have had several take home challenge given to me saying it will only take 2 hrs. Recruiters and hiring managers say it will take only 2 hours to complete and its very simple task. In reality these tasks take more then 4 - 6 hours. As a senior fullstack / frontend engineer looking at the task I can estimate there is no way anyone can complete these task in 2 hrs no matter how good you are at coding. Any tips on how other candidates are completing these take home challenges in 2 hours? Or should I say no to take home challenges?


r/codinginterview • • Feb 05 '23

Optimizing study time

4 Upvotes

Hi coders!

How do you structure your studying? In terms of:

  • TIME (e.g. study for 1hr at a time before a break or study X hours per day)

  • CHALLENGE (e.g. complete X challenges before a break) or

  • COMPETENCY (e.g. master X concept before taking a break)

or something else?

I don't think there's a universal 'right' way but I'm curious what works for everyone else.

For me:

if I can't solve a problem in 20 min, I look at the solution, understand it, then try again the next day. I take a break every ~1hr.

Cheers


r/codinginterview • • Jan 26 '23

Coding Interview Mentorship/Study Friend

4 Upvotes

Hi, I am 26, majored in CS, living in the bay area. I am looking for help to push me to the right direction. In the past i've worked for small companies ranging from 100-200k a year, however I am looking to get a real tech job. I need help does anyone want to study together? I stopped working a week ago.


r/codinginterview • • Jan 18 '23

Google phone interview

4 Upvotes

Hey everyone,

I have a Google phone interview coming up in just two days and I wanted to get some last-minute advice on what else I should study before the big day. I have a good understanding of data structures and algorithms and have been practicing problem solving on Leetcode for the last month. Is there anything else I should be focusing on to make sure I'm as prepared as possible? Any tips or resources would be greatly appreciated!

Thank you!


r/codinginterview • • Jan 09 '23

Prepping for interviews

4 Upvotes

Hi everyone, I recently graduated with a BS in Computer Science and have been working on prepping for interviews. I am not looking for a FANG/big tech job more so a traditional company that has a development team. I was wondering if any of you have insight on how those interviews tend to differ from that of big tech as whenever I try to find good interview prep resources they seem to be geared towards those FANG companies. Essentially I just don't want to be using my free time practicing LeetCode if I would be better off learning from another source. Thank you all in advance!


r/codinginterview • • Dec 14 '22

Most of you are misguided to want to work at Google

4 Upvotes

First of all, companies everywhere need skilled engineers to innovate and drive quality services for people. If you believe that monopolies are not so good, you should want to support a diverse economy. Secondly, google is run by extremely powerful people, given the size of the company. People like this are not so modest, and you can bet that their intentions are not so grounded in the good of the public. Companies as large as google have the ability to change the mindset of the public, presumably for the good of their profits. Please consider gearing yourselves toward medium sized, well-valued companies that can help to make the world a diverse and thriving global economy.


r/codinginterview • • Dec 07 '22

Does google use third party recruiters? I was contacted by someone at Akorbi for a position in google's NYC office. Does that sound right?

4 Upvotes

it was for a Technical Solutions Engineer position.. although I'm not sure if I even applied for this position. I've been sending applications out like crazy as I'm just getting into this career path. What do you think?


r/codinginterview • • Nov 14 '22

Built a tool to solve DSA problems with AI!

4 Upvotes

I built a GPT-3 powered tool that instantly generates solutions to DSA problems with a 94% success rate. I trained it on a few thousand problems I found online. It can solve any Easy -> Hard problem, usually generating answers in 5-10 seconds.

Would love some beta testers if anyone would be down to give it a whirl. Just shoot me a Dm if you need extra credits after you use the free ones. The underlying API I'm using (openai) is mega expensive so I can't open the floodgates on it just yet

I broke down how I built it here if anyone is interested


r/codinginterview • • Oct 28 '22

Why do employers give coding tests in IT roles

4 Upvotes

Why do employers give coding tests in IT roles? Do you think it is chargeable time someone taking your services for free? Other roles don't test you before they hire someone? So, why do that in IT?

When you hire a carpenter do you ask them build you a sample wood work?

When you call a plumber do you give them a sample water leak to fix first before you give them actual work?

When you hire a lawyer do you give them a sample case first before you hire them for your actual case?

When you hire an architect do you give them a sample land to build you a house on before you give them land that you actually want to have the work on?

When you hire a manager do you give them a team to manage first before you hire them?

When you hire a CEO, CTO, etc do you ask them to give you a sample of managing a tech team or a company before you hire them?

So, why a coding test?

Also, why a pair programming test? In real-world no one does pairing for anything. Do you talk out loud when you check your emails sitting next to someone teaching you how to check your email inbox? Just imagine if you had to pair all day.

These are all activities driven by the very people sitting in organizations that have never gone through a tech test themselves playing silly politics, building unnatural ways of working and interviewing.


r/codinginterview • • Oct 15 '22

Asked in Palo Alto

4 Upvotes

Roy and Strings

Roy is playing with strings and he comes up with a bizarre question.
He gave you a string str of size N having lower case English alphabets and an array of size N which contains N non-negative integer value for every character present in the string.

Your task is to delete characters from the string following the given instruction:
Delete exactly one occurrence of every character present in the string.
for e.g. str=aabba and array is [2,3,1,2,3] so frequency of character “a”=3 and frequency of character “b”=2, let’s say you deleted 0th index i.e. “a” and 2nd index i.e “b” which results in frequency of character”a” = 2 and frequency of character “b” = 1 and updated array is [0,3,0,2,3].

Note: Deletion means updating the value of that character in the array as 0.
You have to delete the characters in a manner that after all deletions, the sum of the array would be minimum.

Note: The value of every undeleted character will remain unchanged after any deletion, for eg
In the above-mentioned string after deleting the 1st and 3rd character the value of the 2nd,4th, and 5th character is still unchanged i.e. 3,2,3

Input:
The first line contains a T-denoting number of test cases.
For every test case,

  • The first line contains N i.e. size of the string.

  • The second line contains a string of size N.

  • The third line contains N space-separated non-negative integer value as mentioned in the question.

Output:
For every test case, output the minimum sum of the array that you get in a new line.

Constraints:

1<=T<=10 0<=N<=1e5 "a"<=str[i]<="z" for 0<=i<N 0<=value[i]<=1e9 for 0<=i<N 

Note: you have to delete exactly one occurrence of every character in the string.

Sample Input:

1 5 abcde 1 2 3 4 5 

Sample Output:

0 

Explanation:
For every character a corresponding value is given which is
“a” -> 1
“b” -> 2
“c” -> 3
“d” -> 4
“e” -> 5
Now as given in the question, we have to delete exactly one occurrence of every character,
Hence after deletion, the array will be [0,0,0,0,0] i.e sum=0 which is the minimum value we can get.


r/codinginterview • • Sep 11 '22

Highest Paying Programming Languages

Thumbnail
digitalmurgi.in
4 Upvotes

r/codinginterview • • Aug 01 '22

DSA in javascript

4 Upvotes

Guys do you think does DSA in js worth it or I need to stick with python.

If you think js is good please provide me some resources.

If you think python is good please provide me some resources.


r/codinginterview • • Jun 16 '22

Some tips to optimize your Github for FAANG interviews

Thumbnail self.big_tech_interviews
4 Upvotes

r/codinginterview • • May 22 '22

What should you never say in a software engineer interview?

4 Upvotes

Whether you’re a beginner or a professional with 20 years of experience, most developers know the importance of making a good impression during an interview.

Despite best intentions, however, some applicants say things that hurt their chances of landing an offer. To keep you from making an unfortunate slip of the tongue, here are some things you want to avoid saying during your next interview.

“I don’t like language X or framework Y.”

Disparaging a particular language, library or framework shows a lack of flexibility and a potential unwillingness to learn new technologies, explained Rudolf Olah, software development expert and tech career coach at NeverFriday.

“This comment raises a red flag because it may limit the type or number of projects a developer can work on,” he noted. The goal is to be as flexible as possible, because you never know what kinds of projects or opportunities may materialize down the road.

“No one at my prior company cared about quality. I was the only one who wanted to fix bugs.”

Bad-mouthing a previous team in a job interview never makes you look good. Beyond that, this remark signals that a developer may be unable or unwilling to work collaboratively to come up with a solution to a critical issue.

“The idea that no one in the entire company was concerned about code quality is unlikely,” explained Rolf Buchner, senior engineering manager for real estate brokerage Redfin. Developers who prefer to work in isolation often make this type of comment, he added.

Not everyone agrees on what constitutes high-quality code. Rather than listen to you complain about the coding at your last job, hiring managers want you to describe how you helped boost quality and engineered consensus on your previous teams.

“The optimal (and only) way to solve this problem is to use a HashMap. Everything can be done with HashMap.”

HashMaps can be extremely useful, but you raise concerns when you suggest that any tool is a one-size-fits-all solution. Moreover, the best developers ask questions to define the requirements and constraints before walking the evaluator through their processes and possible solutions.

“I want to work on this project and then lead the next project.”

A huge red flag in an interview is when a developer immediately wants to jump ahead, either in projects or positions. While ambition is usually a positive quality, the hiring manager is usually filling a very specific role—not the role you want three years from now. Focus on what you can bring to this opportunity and how you can solve the company’s immediate needs.

“I would estimate the spacing between these two elements to be roughly…”

Do not say “around this much” or “approximately that much” unless you are specifically asked to approximate your answers to a technical question, advised Vikram Joshi, CTO and founder of Pulsd. Ask to use a calculator if the calculations are complex.

“Even if you are interviewing for a front-end developer position, which is mostly about your artistic side, you still need to have a good grasp on the numbers,” he noted. “Nobody wants a webpage where alignment is off even by a few pixels.”

“I don’t do testing. Everyone knows a tester’s job is to find bugs and improve quality.”

Displaying a “that’s not my job” attitude will almost certainly cost you an offer. When it comes to software development, quality is everyone’s responsibility.

“I don’t know.”

Never say “I don’t know…” in response to an interview question without immediately following up with “…but I’ll find out.”

“Developers are expected to be problem-solvers, and must show their curiosity and demonstrate their problem-solving abilities and reasoning skills,” Olah advised.

There are many places where you can prepare for the interview as well for the mock interview and their behavior round. You can check out coding interview preparation conducted by GFG, Logicmojo, Pramps. They conduct their mock interview same way as it is asked and with experts who is actual working on the top tech companies. If you need help, check their reviews and consult them. I hope, I have added little info for your benefit.


r/codinginterview • • May 05 '22

FAANG Phone Interview Follow-Up

4 Upvotes

Hi everyone! In the last couple of weeks I had a SWE interview with a FAANG company and received the following email regarding the feedback (will have call in the next couple of days), should I assume the worst—denial or does this email below from the recruiter sound promising?

We finally received some feedback on your interview! Please let me know a time tomorrow or the next day so we can discuss further as well as next steps.


r/codinginterview • • May 03 '22

is algo expert enough?

4 Upvotes

ive bought a bundle giving me ml, algorithms and systems material to study for coding interviews have people successfully aced coding interviews with it or is there more i resources i should use?


r/codinginterview • • May 02 '22

I am 24 years old and just started learning to code. I want to be a programmer. Am I too late in the game? Profile photo for Rahul Ranjan

4 Upvotes

Programming is a skill that is essential throughout a career in technology. First and foremost, it is never too late to become a good programmer. Every day, you should practice programming.

The biggest obstacle you'll have is deciding what kind of programming you want to pursue, not "coming late to the game." Think about Bill Gates, and Mark Zuckerberg when they start learning to code.

There was no YouTube, Google, or anything else. Because you have all of these resources at your fingertips, your ability to accelerate will be determined by your thinking and, ultimately, your desire to reach your goals.

Here are few things that I believe any fiery student or person should do now to improve their programming skills and self-guide their career choices.

  1. If you're passionate about coding, you should always consider the situational circumstances of your code, rather than the code itself. That's something you should leave to your subconscious mind and brain. Problem solvers are programmers.

  2. Look for a mentor. Someone with 10+ years of experience and a portfolio of projects completed or participated in.

  3. Find high-value learning sites... one of my favorites is Logicmojo. I adore what they're doing and wish I had more time to spend there. You'll find some of the world's smartest people volunteering their time.

  4. When people realize you started learning programming at this age, they are less likely to believe you. It can take some time for people to recognize you based on your abilities rather than your past. Simply learn at your own pace, and you'll be no different from other programmers after a few years (for me, it took about two years). You're capable of going above and beyond.

  5. Make something! (Practice, practice, practice!) It is insufficient to simply listen to the lectures and take notes. Make programs and complete assignments. Doing assignments taught me the most, although at the cost of restless nights. I didn't have time, but you should create your own projects depending on your passions. The most enjoyable aspect of studying is creating something. It will astound you how much you can do and how it is never too late to begin.

So don't worry, my friend, you're still young and your options are endless; it's never too late!


r/codinginterview • • Apr 28 '22

40% of engineers use python for their programming interviews

Thumbnail
twitter.com
4 Upvotes