0
/ 10
For function isReverse
, write the two missing base case conditions. Given two strings, this function returns true if the two strings are...
For function isReverse
, write the two missing base case
conditions. Given two strings, this function returns
true if the two strings are identical, but are in
reverse order. Otherwise it returns false. For example,
if the inputs are "tac" and "cat", then the function
should return true.
Examples:
isReverse("tac", "cat") -> true
Your feedback will appear here when you check your answer.