Problem

Return base^exp recursively (exp >= 0).

Examples

  • power(2, 3) -> 8
  • power(5, 0) -> 1
Compile and test (Ctrl+Enter)