Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmanuel-sunmbola/leetcode-challenge
A REPOSITORY WHERE I POST MY ATTEMPTS ON LEETCODE CHALLENGES
https://github.com/emmanuel-sunmbola/leetcode-challenge
Last synced: about 2 months ago
JSON representation
A REPOSITORY WHERE I POST MY ATTEMPTS ON LEETCODE CHALLENGES
- Host: GitHub
- URL: https://github.com/emmanuel-sunmbola/leetcode-challenge
- Owner: EMMANUEL-SUNMBOLA
- Created: 2023-05-30T00:29:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-20T21:13:20.000Z (about 1 year ago)
- Last Synced: 2023-11-20T22:25:49.463Z (about 1 year ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Roman is a challenge to convert arithmetic number to roman numerals. The code seperates each character of the string and adds it to an arrray
and its key in the array helps us to find its position(unit, tens,hundreds, ... )
after getting to the 50's which have another symbol I used an php inbuilt function floor to find and add the numbers of Xs needed