some tests passed in clock

This commit is contained in:
rorikstr 2025-05-15 19:40:13 +03:00
parent 0ef500d9ef
commit e63c68efe8
21 changed files with 1181 additions and 0 deletions

View file

@ -0,0 +1,7 @@
pub fn reverse(input: &str) -> String {
let mut res = String::new();
for ch in input.chars().rev() {
res.push(ch);
}
res
}