Artificial intelligent assistant

Binary Sequence Block More of an informatics question, rather than applied mathematics - !Problem Statement !Problem Statement Source - Zonal Informatics Olympiad 2011 Question Paper Although, I've tried a few brute methods, I haven't really understood the actual logic with which it was meant to be solved.

Seems familiar. Check Burrows–Wheeler transform.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy ed561419428101b4b71fee7a4a3bef11