r/codinginterview • • Mar 28 '22

Expectations from tech interviews (for candidates and interviewers)

0 Upvotes

Hello folks, I'm a full-stack developer that has recently been promoted to Tech Lead. As part of the new responsibilities, I'm in charge of the technical interview for the hiring process, which is mainly aimed at junior full-stack web developers with a minimum of 1 year of experience.

This post has a double goal. On one side, I want to give an idea of what I expect from juniors when they come to a technical interview. I doubt I'm the only one having these expectations and I think it could be helpful for the community to see them written.

On the other, I want to ask the opinion and the advice of other tech leads/senior developers, as well as to understand from them if my expectations are in line with theirs.

It's going to be a long post, I apologize in advance. For the questions to senior devs, scroll down till the end.

------------ for juniors -----------

Today I've been in my second interview on "the other side", and I am sorry to say that the candidates didn't come prepared. We have 3 interview rounds (with the HR, with the team lead + tech lead, with the CTO + CEO). If they pass the first round, we usually ask to bring a project to show during the tech interview (it used to be that my company gave home tests, but the management decided to stop doing that).

One of the candidates brought a project from 2 years ago. While it's perfectly fine to bring old projects, the candidate should also expect to be asked questions about it (about the area of interest, which is the code, and not specifically about the GUI they are showing). I don't expect candidates to go on fixing the code from an old project, even though it doesn't give off a nice vibe if you bring a project where the client side has unusual behaviour and the browser console becomes full of errors. But I do expect them to refresh their knowledge on it so that they can answer questions like "what library did you use for this interesting feature (generating pdfs)?", "how do the client and the server communicate?", "how do you handle the authentication and the authorization?".

To be honest, the project that I would like to see is not the usual code copied from a tutorial or the 100th to-do list. I want to see something personal. The candidate should want to show something personal, because they should want to stand out from all the to-do lists and read the weather "apps". It should be something that they did by themselves to reflect one of their passions/hobbies or to overcome a problem, as the project itself should have a purpose. It should show that they took a problem, they understood it, they derived the requirements from it and crafted a solution (which doesn't have to be perfect at all) using a set of "tools in their belt" they learnt how to use.

If someone is applying for a web developer position, I want to see something hosted somewhere. Something that I can interact with. It could also be a portfolio page (and I strongly encourage anyone to make one). There are LOTS of services that can be used without spending a cent (like Heroku, to name just one). It's not necessary to go for something fancy like AWS, at least for me.

It's 2022. I expect that the hosted websites are served using HTTPS (and that if the user tries to access it with the HTTP protocol, it is automatically redirected to HTTPS). Especially if the page has a login/register functionality, or any place where the user can input sensitive data.

Both the candidates I interviewed stated in their CV that they were proficient with PHP, but in neither of their GitHub repository there was a project with PHP code (knowledge of PHP was a key factor in the job description). As someone that is interviewing, I would like to see projects that are relevant (or at least relatable) to what has been asked in the job application. E.g. if I'm interviewing for a backend or full-stack, I want to see some API development, with a clean structure (preferably following REST practices). If one of the requirements in the job advertisement is Vue, I want to see a project with a frontend framework (possibly using components).

If someone started to learn something the week before the interview, that something shouldn't be listed in the proficiency list. People shouldn't lie about the proficiencies and name specific elements just because they appear in the job advertisement. If the candidate doesn't have experience, the lie is quite easy to spot. For me that is a huge rejection reason, because I need to have mutual trust with my team.

I've seen that people coming out of 1-year or 2-years bootcamps are lacking knowledge on lots of vital subjects that are taught in university (algorithmic thinking, data structures, object oriented principles and database modeling, to name a few). In my opinion, this has a huge detrimental impact on the abilities of a full-stack dev, mostly on the backend. While it's not such a great issue because most of them can be learnt with time, I think that at least object oriented principles and the basic data structures should be learnt before going to the interviews. Those are the foundation of development, if a candidate doesn't know them, they won't be able to think about the modelling of the solution.

If they attended extra courses (even online) to expand their knowledge, I'd be very happy to see them in the CV.

And most importantly, I want to see a GitHub/Gitlab/etc. profile with the repositories of the projects. I do check the commits. If the whole project consists in only one commit, my assumption is that the code was copied. I want to see several commits, because it shows that you can work in an incremental way. The commit history gives me an idea of how the person structures the development (do they work feature by feature, or do they develop in a big chaotic mess?). It's also a good chance to learn more about git branches and merging, if they are not familiar with it. It's surely something that they will use in a team.

I also check the code to see potential problems. My reason is that I want to ask questions during the interview about what can they do to solve that problem (or how would they implement a new feature). I want to see how they react to it and how do they work towards a solution.

Lastly, it's a big no no for me if I see secret values in the committed code of a server application (e.g. API tokens, database URLs, etc.). Environmental variables exist and they are there to avoid exposing confidential data. If you expose your private tokens, on your own public repositories, how do I know that the company tokens won't be exposed too?

------- for senior/tech interviewers ------

What do you expect from the candidates when you interview for a junior position?

What are the elements that if present (or missing) make you discard the CV immediately?

On the contrary, what elements do you value the most?

If you interview for a fullstack webdev position, do you ask "whiteboard" problem solving questions? If so, could you give some examples?


r/codinginterview • • Apr 06 '22

Best pc/Labtop to code on

0 Upvotes

What is the best pc/labtop to buy that I can code on ? I am new to coding and I don’t know where to start I’m not sure how strong my system has to be I’ve tried watching videos but everyone says something different. Anyone know a PC that’s good.


r/codinginterview • • Mar 19 '22

Shuffling Tasks

0 Upvotes

There are N tasks. The amount of each task is represented by an array S (1- indexed). 13 There are Q people who work to complete the task. Each person can tinish A units of tasks from index I to R inclusive Input The amount of task at the ;th index decreases from Si] to Sli]- X, if X units of work are finished for that index, It completes when its amount decreases to less than or equal to O You are given an initial configuration of array S. Your task is to shuffle the ordering of S such that the number of tasks completed after all people completed the task is maximum. Print the maximum number of tasks that can be completed by the people.

Input format 2 • The first line has an integer N representing the number of tasks. • The second line has N space-separated integers representing the amount of each task. • The third line has an integer Q representing the number of people. 13 The next Q lines contain three space-separated integers L, R, and K denoting the range of work [L, R] and the amount of work K of each people. Output format Print an integer denoting the maximum number of tasks that can be completed after changing the configuration of the initial array S. Constraints 1 < N < 106 1 < STil < 109 1< Q<105 1<L≤R≤N 1 < K < 109

Explanation In the provided sample input, if you shuffle the initial task array as. 12 10 21 23 After the first person works, the task array will be: 12 eTI 16 18 A11 After the second person works, the task array will be; 5 16 18 See the task at position 1 is finished as its amount < O Similarly after all the people work the task array will be:

-1 -2 -1 13 15 -4

You can see that tasks at index 1,2,3, and 6 will be completed. Therefore, the maximum number of tasks completed is 4.

NEED SOLUTION ASAP.


r/codinginterview • • Aug 05 '23

Best Online Compiler

0 Upvotes

Online compilers are fantastic tools for preparing for data structures and algorithms interviews. Coding Ninjas' online compiler, among others, can be highly beneficial for practicing coding problems. Coding Ninjas Online Compiler


r/codinginterview • • Sep 06 '21

Introduction to Python | Python Tutorial for Beginners #1 | #anybodycanc...

Thumbnail
youtube.com
0 Upvotes

r/codinginterview • • Mar 24 '23

Book a fun and interactive 3 Days Coding Bootcamp with CodeKaroYaaro.

0 Upvotes

Dear Parent,

Book a fun and interactive 3 Days Coding Bootcamp with CodeKaroYaaro.

We at CodeKaroYaaro strongly believe that technology has become one of the prerequisites to move ahead in life. It is high time to educate and familiarise kids with the concepts that drive the latest technology. We aim to empower the next generation through computer science education. Our vision is that every student in every school has the opportunity to learn computer science as part of their core. To become part of this do Join the WhatsApp group links given below.

https://chat.whatsapp.com/ETN9TfhYZCu0kVf7olsZfr


r/codinginterview • • May 03 '22

How should you start learning programming?

0 Upvotes

Coding necessitates familiarity with at least one coding language, which is a set of rules and grammar that computers can understand. There are hundreds of different coding languages, each with its own purpose and capabilities. However, certain languages are easier to learn than others, and these are the best to start with because they are the quickest approach to mastering programming concepts. You can select C++ , python, Java, and javascript. Learn based on market demand.

1. Take online courses

Your first course should cover the fundamentals of the language and include interactive modules and assignments to help you progress. Courses give learning structure, which is important because computer science topics build on each other. A planned course makes everything easier to understand and guarantees that you learn things in the right order.

There are also many courses available in in-person classes. Logicmojo, Leetcode, and GFG offer courses in a variety of CS areas for beginners, intermediates, and advanced students. If you want to acquire a sense for a service's teaching approach before paying, some of them offer free courses or trials.

2. Complete coding projects.

There's no way around it, programming is best learned through doing. You can learn all of the principles and syntax required to build functional programming by reading. The ideas won't fully materialize in your head unless you put what you've learned into practice. Projects play a role in this.

3. Find a mentor and a community.

First and foremost, I advise you to seek out a mentor. As you go, you'll almost certainly run upon problems that you can't solve no matter how hard you try. Mentors can aid in this situation. A mentor does not have to be a teacher; they can be anyone who is fluent in programming and can explain difficult topics and point you in the right direction. In addition, an experienced mentor can guide you through coding methods not covered in courses and provide guidance on how to navigate a computer career.

You might want to join a community in addition to having a mentor. Look for local online organizations, networking events, and meetups, as well as hackathons where you may meet expert programmers.

For beginners, online developer communities are also a valuable resource. Make sure to have a look at:

Stack Overflow is a question-and-answer platform for programmers.

GitHub is an open-source code repository with a vibrant developer community.

Women Who Code is a non-profit organization that hosts events, networks, and job postings for women interested in technological jobs.

## Some Tips for Beginners

Be patient.

Know your tools.

Get comfortable with the fundamentals.

Write clean code from the start.

Google is your friend.


r/codinginterview • • May 04 '22

5 Pieces of Advice For Aspiring Software Engineers

0 Upvotes

One of the best jobs in the world is that of a software engineer or software developer. It's tremendously pleasant to type lines of code on a computer and be paid handsomely for it. It also leads to improved employment prospects, such as having more time to establish a side business or start your own company.

1 Problem Solver:

Companies are constantly on the lookout for great problem solvers. This is why technical interviews are growing more difficult, especially at FAANG companies. FAANG interviews need extensive preparation that covers a wide range of topics in critical technological fields such as data structures and algorithms. Systems design, dynamic programming, recursion, and work skills are all common and vital topics that need to be addressed.

If you wish to prepare for an interview with one of the FAANG businesses, Logicmojo has helped numerous applicants crack the interview with the highest 1.2 crore package in India. Take a look at their testimonials and reviews. One of the candidates is myself. Leetcode practise is also beneficial to those who are already familiar with DSA and wish to refresh their knowledge.

2. Hone your Social Skill

Social skills can make the difference between extremely successful software engineers and those who aren't. The majority of the time, it is your soft talents that will propel you into senior management positions.

You should concentrate on your social skills if you wish to advance to the position of product manager or head of development.

Here are some crucial social abilities:

Clear communication

Journaling

The ability to think critically

Listening attentively

As a smart software engineer, you should know your strengths and weaknesses. Work on those weaknesses and keep honing them until they become second nature to you.

3. Invest in Yourself

What could you invest in:

  1. Books that stimulate your creativity

  2. Podcasts that make you think deeply

  3. Mental health sessions

  4. An espresso machine

I’d recommend listening to Joe Rogan’s podcasts too. Just trust me.

Invest in yourself. You are not a machine. Your computer is.

4. Start a Side Hustle

Building a side hustle is one of the best things you can do as a software engineer. Some people aren't just in it for the money. Most people do it to broaden their horizons and satisfy their curiosity.

While I enjoy coding, it can be time consuming. Have a desire to attempt something new, such as writing — which is exactly what I'm doing right now by providing tips gleaned from my own software engineering experiences.

Money isn't the driving force for my decision to write here, yet it is a fair motive. What keeps me here is my ability to assist individuals in a variety of ways.

1 view


r/codinginterview • • May 23 '22

Python vs SQL

Thumbnail
startupunion.xyz
0 Upvotes

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 • • May 22 '22

The painful process of studying for programming interviews

Thumbnail self.big_tech_interviews
0 Upvotes

r/codinginterview • • May 24 '22

Journey to Meta

Thumbnail self.big_tech_interviews
0 Upvotes

r/codinginterview • • May 24 '22

Python vs Ruby

Thumbnail
startupunion.xyz
0 Upvotes

r/codinginterview • • Jan 07 '22

Negotiating after an Offer?? Help!

0 Upvotes

I feel like the interview aspect is the part that most of us prep for .. but in the event that we actually get an offer, we’re up against professional recruiter(s)/negotiator(s) when trying to argue a certain salary for ourselves. I honestly had no idea what an RSU was, or how to leverage my abilities/other offers to get a bigger sign-on bonus. This is also suchhhh a taboo subject and needs to be discussed more 😫

What experiences have people had with negotiating?? What resources did you use? There are paid sites out there where a professional negotiator talks you through the process - but then they end up taking 1-5% of your salary that THEY negotiated… Curious to hear your thoughts.

I made a recent video detailing my own thoughts for Dos and Don’ts for this as well: https://youtu.be/GRm3MSG7gfE


r/codinginterview • • Dec 04 '21

Can someone help me understand why this has a O(a/b) runtime?

Post image
0 Upvotes

r/codinginterview • • Jan 25 '22

Valid Parentheses (LC 20) Mock Interview - No Decision

Thumbnail
youtube.com
0 Upvotes

r/codinginterview • • Jan 04 '22

FAANG, MANGA, GAMMA. What’s the best acronym to represent Tier 1 companies?

Thumbnail self.big_tech_interviews
0 Upvotes

r/codinginterview • • Jan 04 '22

Leetcode | Easy | 1046 | Last Stone Weight | Do subscribe for more upcoming content like this

Thumbnail
youtu.be
0 Upvotes

r/codinginterview • • Jan 23 '22

Reverse a linked list - leetcode 206

Thumbnail
youtube.com
0 Upvotes

r/codinginterview • • Jan 22 '25

Most Common PostgreSQL Interview Questions and Answers

0 Upvotes

Most Common PostgreSQL Interview Questions and Answers, you can access this link : https://hakanyildiz.lemonsqueezy.com/buy/8c212d31-28c0-4dce-9985-1a5e189c5011


r/codinginterview • • Jan 17 '24

What’s your favorite language for coding interviews?

0 Upvotes

Hey everyone! Just curious, what’s your favorite (or least favorite) programming language for interviews? What are the advantages/disadvantages of them?

  • JavaScript

  • Python

  • Java

  • Ruby

  • C++

  • C#

  • Swift

  • Go

Obviously some jobs (like iOS) would require proficiency in one language but all else being equal, which one would you use?

Poll only allows 5 options, feel free to comment here with others.

35 votes, Jan 22 '24
15 Python
7 Java
8 JavaScript
1 Ruby
1 Go
3 C#

r/codinginterview • • Oct 24 '21

Why use Message Brokers in your System Design Interview?

Thumbnail
bigtech.coach
0 Upvotes

r/codinginterview • • Sep 07 '17

Anyone interviewed at Lenovo ?

0 Upvotes

I am going to interview for entry-level software developer position. Want to know what kind of questions they ask ? What is their difficulty level? If you have ever interviewed with them, please help!


r/codinginterview • • Aug 22 '20

Leetcode Live Coding - Pair Program and Learn by Solving Problems. Join the WhatsApp group

Thumbnail
chat.whatsapp.com
0 Upvotes