Pergunta de entrevista da empresa Trust Wallet

The assignment is to build an interactive interface (using SwiftUI) to a transactional key-value store. A user should be able to compile and run this program and get an interactive interface where they can select commands and textfield to enter command value. The user can enter commands to set/get/delete key/value pairs and count values. The interface should also allow the user to perform operations in transactions, which allows the user to commit or roll back their changes to the key value store. That includes the ability to nest transactions and roll back and commit within nested transactions.