Netcracker Technology interview question

Some write-up