Interviewing is so important for your career growth, yet so easy to mess up.
(We know - we've been on both sides as the interviewees and interviewers.)
- The two engineers who created InterviewCrunch
Get good at coding interviews
Adding to a listO(n) or O(1)
Here are two common methods to add elements to a list:
append()adds the element to the end of the list
insert()takes in a second argument that specifies what position to add the element at
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.
1 Solidify your knowledge on Python basics
Walk through ouron the coding fundamentals you need to know before you even begin practicing coding questions.
2 Familiarize yourself with the essential coding patterns
Get a step-by-step explanation of each coding pattern by walking through our. We make it easier for you to learn more efficiently and understand the concepts better.
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.
3 Practice on real interview questions that follow an actual interview format
Practice problems that mirror a real interview experience, with no setup required to start implementing and testing code. Perfect for.
4 Profit from your improved interview skills
With enough practice, you'll be able to work your way through approaching almost any problem, andto improve both your career and personal development.