1. Remove consecutive duplicate "x".
2. Get separate movement instructions by cut instruction string with X.
3. Collect all valid snapshots position.
4. Count the number of snapshots.
Part 2
1. Distribute instructions to two separate instructions by character order.
2. Process both instructions separately with Part 1 solution.
3. Get two snapshots box and merge them without duplicates elements.
4. Get the merged snapshots
4. Count the number of the merged snapshots.
Getting Started
# install dependencies
npm install
# Run the api and client
npm run watch
# Run the unit tests
npm test# open the app
open http://localhost:4000