Contiguous sequence with largest sum CTCI question.
GetDigits method for CTCI Question 17.7