mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
feat(challenges): add acronyms
This commit is contained in:
parent
d16d026672
commit
2b0ff4b877
27
challenges/acronyms/README.md
Normal file
27
challenges/acronyms/README.md
Normal file
@ -0,0 +1,27 @@
|
||||
# acronyms
|
||||
|
||||
Created by [@Divlo](https://github.com/Divlo) on 30 June 2021.
|
||||
|
||||
## Instructions
|
||||
|
||||
Convert a given sentence to its acronym.
|
||||
|
||||
## Examples
|
||||
|
||||
### Example 1
|
||||
|
||||
#### Input
|
||||
|
||||
```txt
|
||||
Programming Challenges is really cool
|
||||
```
|
||||
|
||||
### Output
|
||||
|
||||
```txt
|
||||
PCIRC
|
||||
```
|
||||
|
||||
#### Output
|
||||
|
||||
See the `test` folder for examples of input/output.
|
0
challenges/acronyms/solutions/.gitkeep
Normal file
0
challenges/acronyms/solutions/.gitkeep
Normal file
1
challenges/acronyms/test/1/input.txt
Normal file
1
challenges/acronyms/test/1/input.txt
Normal file
@ -0,0 +1 @@
|
||||
Programming Challenges is really cool
|
1
challenges/acronyms/test/1/output.txt
Normal file
1
challenges/acronyms/test/1/output.txt
Normal file
@ -0,0 +1 @@
|
||||
PCIRC
|
1
challenges/acronyms/test/2/input.txt
Normal file
1
challenges/acronyms/test/2/input.txt
Normal file
@ -0,0 +1 @@
|
||||
a whole sentence in lowercase
|
1
challenges/acronyms/test/2/output.txt
Normal file
1
challenges/acronyms/test/2/output.txt
Normal file
@ -0,0 +1 @@
|
||||
AWSIL
|
1
challenges/acronyms/test/3/input.txt
Normal file
1
challenges/acronyms/test/3/input.txt
Normal file
@ -0,0 +1 @@
|
||||
YOU CAN ALSO WRITE EVERYTHING IN CAPITALS
|
1
challenges/acronyms/test/3/output.txt
Normal file
1
challenges/acronyms/test/3/output.txt
Normal file
@ -0,0 +1 @@
|
||||
YCAWEIC
|
1
challenges/acronyms/test/4/input.txt
Normal file
1
challenges/acronyms/test/4/input.txt
Normal file
@ -0,0 +1 @@
|
||||
We CaN aLSO miX the tWo
|
1
challenges/acronyms/test/4/output.txt
Normal file
1
challenges/acronyms/test/4/output.txt
Normal file
@ -0,0 +1 @@
|
||||
WCAMTT
|
1
challenges/acronyms/test/5/input.txt
Normal file
1
challenges/acronyms/test/5/input.txt
Normal file
@ -0,0 +1 @@
|
||||
Hurry I have an appointment
|
1
challenges/acronyms/test/5/output.txt
Normal file
1
challenges/acronyms/test/5/output.txt
Normal file
@ -0,0 +1 @@
|
||||
HIHAA
|
1
challenges/acronyms/test/6/input.txt
Normal file
1
challenges/acronyms/test/6/input.txt
Normal file
@ -0,0 +1 @@
|
||||
The "quotes" will crash your code
|
1
challenges/acronyms/test/6/output.txt
Normal file
1
challenges/acronyms/test/6/output.txt
Normal file
@ -0,0 +1 @@
|
||||
TQWCYC
|
Loading…
Reference in New Issue
Block a user