Coding interviewsbroken down
Stop memorizing solutions. We'll teach you the patterns behind every question, so a problem you've never seen still looks familiar.

“Interviewing is so important for your career growth, yet so easy to mess up.”
The two engineers who created InterviewCrunch (we've been on both sides as interviewees and interviewers)
Get good at coding interviews
Hundreds of engineers have used these four steps to go from “I don’t even know where to start” to a signed offer.
Adding to a list
O(n) or O(1)Here are two common methods to add elements to a list:
append()adds the element to the end of the listinsert()takes in a second argument that specifies what position to add the element at
Note
insert() is an O(n) complexity operation whereas append() is an O(1) operation, so use insert() sparingly. If you need to only add to the front, consider using a queue.
Get solid on the Python basics
Walk through our easy lessons on the coding fundamentals you need to know before you even begin practicing coding questions.
Use ← → arrow keys
Learn the patterns behind every interview question
Get a step-by-step explanation of each coding pattern by walking through our visual slides. Watch the algorithm move step by step: it sticks in a way a wall of text never does.
Valid Palindrome
EasyQuestion
A phrase is a palindrome if it reads the same forward and backward after ignoring all non-alphanumeric characters like punctuation, symbols, capitalization, and spaces.
Write a function which returns true if the given string is a palindrome, and false if it's not.
Input: Han ah!
Output: True
Input: Hugo
Output: False
Practice questions that feel like the real interview
The problems feel like the ones interviewers actually ask, and you write and run your code right in the browser with nothing to install. They're perfect for solo practice.

Walk in confident, walk out with an offer
Practice enough and you'll walk in already knowing you can work through whatever they ask. That confidence is what gets offers.
Make prep a daily habit
A study plan built around your interview date, and a daily quiz to keep you sharp. Both are free.
Study Plan
Tell us your interview date and your hours per week. You get a week-by-week schedule across every pattern, and it checks itself off as you go.
Daily 8
Eight pattern questions, the same for everyone, every day. Keep a streak, earn badges, and share your result grid.
Got an interview coming up?
Hundreds of engineers have prepped with InterviewCrunch. It's free to get started.