Functions are a small chunk of code which you may call multiple times within your script. They are particularly useful if you have certain tasks which need to be performed several times.
greet() {
echo Hello $1
}
greet A
greet B
Hello A
Hello B
| Problem | Score | Companies | Time | Status |
|---|---|---|---|---|
| Swap Forward And Backward Slash | 200 |
|
13:15 | |
| Sort by Frequency | 250 |
|
29:09 | |
| Valid Email Address | 350 |
|
28:44 | |
| Convert Integer To Roman Number | 400 |
|
27:17 |