https://github.com/truemagic-coder/bpi
interview assignment
https://github.com/truemagic-coder/bpi
Last synced: 8 months ago
JSON representation
interview assignment
- Host: GitHub
- URL: https://github.com/truemagic-coder/bpi
- Owner: truemagic-coder
- Created: 2020-04-02T02:26:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T06:16:42.000Z (over 6 years ago)
- Last Synced: 2025-07-05T07:45:54.947Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Interview Assignment
## Run Program
- `go run main.go -i [input]`
- example: `go run main.go -i 110`
## Expected Output
- input of `1010` will output `S1 = 1`
## Invalid Input
- input of `112` will output `invalid input 2 at position 3`
## Run Tests
- `go test`