guardian / guardian/coding-exercises
Warehouse test - Part 3: Commands should be NE, SW etc.
- Dominant language
- No language data
- Stars
- 496
- Forks
- 184
- Avg merge
- 20h 19m
- Merged PRs (30d)
- 1
Description
Part three talks of issuing a command 'E N' which should be the same as issuing an east command then north, but this is what the code should already be doing, as the command lists are already space separated.
The aim should be to support the commands NE, NW, SW & NE.
The user may also wish to support the inverted commands EN, WN, WS & WE. It's arguably overkill, but personally I've tried to make the command string parser as forgiving as possible, knowing full well you should never trust user input, and being flexible reduces possibility of user friction.
[Note: Not a Guardian employee or contractor. Doing tests as part of contract application process]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.