HelloFresh Berlin Interview

Anonymous User
291
Jun 16, 2023

Round1:
Coding round:
Max Consecutive Sum
Implement a function that calculates the max consecutive sum on a subsequence of integers. What is the maximum sum one can achieve by summing consecutive numbers on a
finite array of positive and negative numbers? One can start and end anywhere, but it is not allowed to skip numbers.
For example, consider the array [2, -4, 2, -1, 3, -3, 10, -1, -11, -100, 8, -1].
The max possible consecutive sum is 11 (starting from the index 2 and ending with the index 6, both zero-based).

Round 2:
System design:
random project related questions, and more interested around SAGA, Strangler patterns of distributed microservices. Interviewers have some preconceived idea in mind and ask questions very subtle, so its a hit or miss in answering depending on your professional background based answers.

Comments (2)