Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
bruh
Maybe he just mean, function wont return nil in case of empty string?
Next time please provide explanation for beginners
case 10,9: return 'A'
wave = []string{} ??? best practice?
allocations will still happen!
if you want to avoid this, set the capacity
wave = make([]string, 0 , len(words))
sort.SliceStable -> O(n*log n)
Please use spoiler flag next time.
range numbers[1:]
range numbers[1:]
range numbers[1:]
range numbers[1:] )))
This comment is hidden because it contains spoiler information about the solution
var n, max int - better choice
sort.Ints - O(n * log n). It's not best practice. There maybe 0(n)
O(n^2)
Loading more items...