Land your dream job

Solving the Battleship interview question

Forget FizzBuzz - this is way more fun

Last week's episode about technical interview was a hit, so we asked Kevin to come back and show us how to solve a common hypothetical interview question. He suggested one of his favorites: programming the classic board game Battleship.

There are three parts to the solution: rules & assumptions, setup (placing ships on the board), and missile firing (calculating hits). Got questions? Post them on YouTube!

Feeling confident?
Sign up for Devpost Jobs and apply to NYC's best startups.

Watch next: