Quantinuum interview question

Logic puzzle, coding challenge, questions about cloud computing, code review