Input:
- Result List
- Current iteration element
Output: void
void f(List<String> result, String current) {
// Do something
result.add(...);
}
Implementation: return max(f(a), f(b))
Might be a code smell. The iteration is already brought by the recursion itself.