Day 7 - 15 Puzzle

April 30-Day Coding Challenge

April 30d Coding Challenge > 15 Puzzle

Day 7 - 15 Puzzle

15 Puzzle is a 4x4 matrix, with 15 tiles (numbered 1-15) and one unoccupied position. Tiles in the same row or column of the open position can be moved by sliding them horizontally or respectively. The goal of the puzzle is to place the tiles in numerical order.

Write a program to print the sequence to unscramble any given board. Remember, not all boards are solveable.

To Discuss more and follow up, join us at SDE Skills Discord Server, use the #women-in-tech channel.

How to submit your code

  1. Head over to
  2. create an account / log in.
  3. Code your submission and share it with user @sdeskills
  4. e-mail your submission to [email protected]

Note: While there is no submission deadline per-se, we recommend you answer these questions as soon as they are posted.

Day 7 - 15 Puzzle

Want the questions emailed?