Koko has piles of bananas and h hours. Each hour she picks one pile and eats up to k bananas from it (a pile smaller than k still costs the whole hour). Return the minimum integer speed k that finishes all piles within h hours.
Input
pileshOutput: the minimum k.
3 6 7 11 8
4
30 11 23 4 20 5
30
30 11 23 4 20 6
23
Run your code against the sample tests, or Submit to run the full suite.