Enclosed in this book are 189 of the best interview questions, selected from thousands of potential problems.
The focus of Cracking the Coding Interview is algorithm, coding, and design questions. Why? Because while you can and will be asked behavioral questions, the answers will be as varied as your resume. Likewise, while many firms will ask so-called “trivia” (e.g., “What is a virtual function?”), the skills developed through practicing these questions are limited to very specific bits of knowledge. The book will briefly touch on some of these questions to show you what they’re like, but I have chose to allocate space to areas where there’s more to learn. (Cracking the Coding Interview: 189 Programming Questions and Solutions 6th Edition; Gayle Laakmann McDowell; CareerCup ; Introduction: Page 2)