Rotated Duplicate Log Minimum — Coding Problem — CareerVerse