Flip K-Sized Blocks in an Assembly Chain — Coding Problem — CareerVerse