In a typical coding interview, you are given a problem to solve within 10–20 minutes, either in an in-person setting or on the phone. Learn more about the kind of problem that gets asked.
- [Instructor] As I mentioned earlier coding interviews are becoming more and more common for our software development jobs. So, you might be wondering what do they look like. Usually in a coding interview you're given a small problem to solve within 10 to 20 minutes, whether on the phone or in person, and you need to solve it quickly and show your solution to the interviewer. If it's on the phone you might show your solution on an online document editor like Google Docs, or if it's in person, you might be asked to write your code on a whiteboard. The kind of problem that gets asked depends highly on the specific job that you're applying for, and in my experience, smaller companies tend to ask specific questions about the particular job that you're applying for.
For example, if you're applying to be an iOS developer they might ask you about how to create a certain kind of iPhone app. Larger companies, on the other hand, tend to ask more general questions that are designed to test your ability to write good code and think on your own. Here are some example coding interview questions. Given a word determine if it's a palindrome. As you may already know a palindrome is a word or phrase that reads the same backwards as well as forwards. For example, noon and kayak are palindromes.
If you are applying to be let's say an iOS developer they might ask you something like how would you make a poker game on the iPhone? And they might also ask you a question about your past projects. For example, can you describe what you did on your last project? So, these are three major categories of questions you might get asked on your coding interview. The first category is questions about algorithms and solving small problems. The second one is more specific to the particular job that you're applying to. And the third is questions about your experience.
In this course we're going to focus on the first type of questions that are designed to test your ability to write good code and solve problems on your own because this is by far the most common type of questions in a coding interview.
Follow YK Sugishita as he explains what to keep in mind as you prepare for coding interviews. YK covers useful concepts that can help you master your interview, followed by practice problems that test what you know. YK reviews key concepts such as two-dimensional arrays, time complexity, Big-O notation, and hash tables. To wrap up, he shares a few tips for acing your interview, such as how to come up with an optimal solution. Even if you're not prepping for an upcoming job interview, tackling the coding problems covered in this course is a great way to sharpen your programming skills.
- Honing your problem-solving skills
- Preparing for a coding interview
- Using Jupyter Notebook for sample problems in Python
- Using arrays to solve interview problems
- Working with and comparing strings
- Using two-dimensional arrays
- Learning the importance of time complexity in code
- Using Big-O notation to describe the time complexity of code
- Using hash tables and Python dictionaries in Python
- Asking clarifying questions during your interview
- Finding the most efficient solutions to problems
- Testing your proposed code solutions