Publicis Sapient interview question

Rope puzzle