Pergunta de entrevista da empresa Amazon

code challenge pre onsite, 2 problems both greedy algorithms solutions on site 1 question on the leet code style, other that ask how to design a book borrow API, and the other was a hard problem with logging parsing