https://github.com/jmestxr/switcheo-code-challenge
https://github.com/jmestxr/switcheo-code-challenge
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jmestxr/switcheo-code-challenge
- Owner: jmestxr
- Created: 2023-02-19T14:32:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T15:59:47.000Z (over 2 years ago)
- Last Synced: 2025-01-15T05:51:32.696Z (4 months ago)
- Language: TypeScript
- Homepage: https://switcheo-code-challenge.vercel.app
- Size: 2.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# switcheo-code-challenge
## Notes on Problem 1: Three ways to sum to n
- I assumed that n is a positive integer.## Notes on Problem 2: Fancy Form
- You can try out Fancy Form [here](https://switcheo-code-challenge.vercel.app/).
- I did not manage to implement form validation and form submit due to time constraints. However, I have restricted the inputs to take in valid values:
- For ETH address, the max number of characters is 40 and can take in both numbers and letters.
- For Amount, only numbers are accepted. Case of leading zeros (e.g. inputting '0100' will display '100') is handled. The input is also pretty-formatted (e.g '1000000' is displayed as '1,000,000').
- For OTP, I assumed that only 4 numbers are accepted.
## Notes on Problem 5: Utility Contract
- I did not manage to attempt this problem yet due to time constraints. Apologies...