layout | author | title | topics | langs | tc | sc | leetid |
---|---|---|---|---|---|---|---|
post |
Rajat Srivastava |
Hello World |
string |
java py c cpp go js php cs rb rust scala kt swift erl ex rkt |
O(1) |
O(1) |
0 |
Print Hello appended by input string
Following represents a mermaid diagram
graph LR
Question(Question) --> case[Test Case]
case --> input>Input]
case --> output>Output]
Question --> Solution
Solution --> Diagram
Solution --> Complexities
Complexities --> tc((Time))
Complexities --> sc((Space))
Solution --> Code
Input:
(string) s = "World"
Output:
(string) "Hello World"