Maximum Isolated Log Segments — Coding Problem — CareerVerse