https://kotlinlang.org logo
#announcements
Title
# announcements
k

karelpeeters

08/13/2017, 6:03 PM
@supaham If
n == 1
and
size == 0
that means that
n >= size
and so
toList()
will be returned. Unless you're talking about something else, I don't think there's an issue.
👍 2
s

supaham

08/13/2017, 6:05 PM
Ahhh right! derp! 😛
k

karelpeeters

08/13/2017, 6:07 PM
The code is basically a list of edge cases, it's really easy to get confused ☺️.
5 Views