Pergunta de entrevista da empresa Meta

2 easy/medium algorithm questions. 1st was harder (involved a more complex data structure); 2nd was easier (just arrays / stacks / queues type stuff). Interviewer also used some of the (already-very-short) interview period to give me the opportunity to ask questions, thus total time I had to solve problems was only about 30 mins.

Resposta da entrevista

Sigiloso

7 de out. de 2021

Mostly did things correctly on the first question except the console-prints were not formatted in a very "pretty" way which may have caused deductions... Didn't leave enough time for the 2nd problem (despite it being easier) and kind of fumbled the algo. using a stack (it was an easily-corrected problem that should have been easy to solve but I had no time left)