Coding Interviews

Questions, Analysis & Solutions

  • Authors
  • Harry¬†He

Table of contents

  1. Front Matter
    Pages i-xviii
  2. Harry He
    Pages 1-12
  3. Harry He
    Pages 13-32
  4. Harry He
    Pages 33-74
  5. Harry He
    Pages 75-109
  6. Harry He
    Pages 111-141
  7. Harry He
    Pages 143-185
  8. Harry He
    Pages 187-218
  9. Harry He
    Pages 219-262
  10. Harry He
    Pages 263-274
  11. Back Matter
    Pages 275-281

About this book


This book is about coding interview questions from software and Internet companies. It covers five key factors which determine performance of candidates: (1) the basics of programming languages, data structures and algorithms, (2) approaches to writing code with high quality, (3) tips to solve difficult problems, (4) methods to optimize code, (5) soft skills required in interviews. The basics of languages, algorithms and data structures are discussed as well as questions that explore how to write robust solutions after breaking down problems into manageable pieces. It also includes examples to focus on modeling and creative problem solving.

Interview questions from the most popular companies in the IT industry are taken as examples to illustrate the five factors above. Besides solutions, it contains detailed analysis, how interviewers evaluate solutions, as well as why they like or dislike them. The author makes clever use of the fact that interviewees will have limited time to program meaningful solutions which in turn, limits the options an interviewer has. So the author covers those bases.

Readers will improve their interview performance after reading this book. It will be beneficial for them even after they get offers, because its topics, such as approaches to analyzing difficult problems, writing robust code and optimizing, are all essential for high-performing coders.

Bibliographic information