Pregunta de entrevista de AKUNA CAPITAL

Some basic coding problems, the difficulty is medium. Like max subarray sum.