Problem

Return s concatenated with itself n times (n >= 0).

Examples

  • repeat("ab", 2) -> "abab"
  • repeat("x", 0) -> ""
Compile and test (Ctrl+Enter)