interview
Interview questions
A Java repository of solutions to hundreds of coding interview algorithm and data structure problems, used alongside the maintainer's YouTube channel as a study resource for technical job interviews.
This is a Java repository containing solutions to coding interview questions. The kinds of problems covered are the algorithmic and data structure exercises that appear in technical interviews at software companies. With over 11,000 stars, it has been used as a study resource by a large number of developers preparing for interviews.
The README itself is brief. It points to the project's GitHub wiki for the full list of questions, so that is where you go to browse what is actually included. The README also links to the maintainer's Facebook page for updates related to a YouTube channel, suggesting the repository is used alongside video content, though the README does not describe that connection in detail.
Running the code requires Java (JDK 8 is the version mentioned in the README), Git, and either IntelliJ or Eclipse as a development environment. The project uses Gradle as its build tool. After cloning the repository, you run a Gradle command to generate the IDE project files. Individual programs and JUnit tests can then be run directly from within the IDE. There is also a build command that compiles everything, runs the tests, and produces a JAR file.
The project is open to contributions via pull requests. The README invites anyone to add new questions, improve existing code, or improve the documentation. The maintainer reviews and approves requests that look good.
Because the README is sparse and the actual question content lives in the wiki, this repository is best treated as a code companion rather than a standalone reference. Start at the wiki to find the problems, then look at the source files to see the solutions.
Where it fits
- Study Java solutions to algorithmic interview problems like trees, graphs, and dynamic programming
- Run JUnit tests against individual problems to verify your own solutions
- Browse the GitHub wiki for the full list of covered problems and match them to video explanations
- Use as a code reference when preparing for software engineering interviews at tech companies