Pergunta de entrevista da empresa Jump Trading

calculate 234*+46+ using stack

Respostas da entrevista

Sigiloso

4 de out. de 2016

Google "Reverse Polish notation" and find thousand of examples! :)

Sigiloso

20 de out. de 2016

The codility questions are essentially a pre-screen before actually beginning the interview process. The two questions were the stack question mentioned which was pretty straightforwards (push and pop values off the stack at certain times) and an algorithmic question that involved using a hashmap creatively to solve in nlog(n) time. If you simply bruteforced the algorithm and solved it in n^2 (or worse, god forbid) you will automatically fail since you will fail pretty much all the codility testcases with large numbers. While codility does not provide you with any large testcases yourself, they do tell you what the expected/worstcase runtime for the algorithm should be. That being said, you should always assume that a n^2 time complexity is not the most optimal solution in the context of an algorithmic question.

Sigiloso

7 de mar. de 2019

is there any space between 46? 3*4 + 2 + 46 = 50

Sigiloso

7 de mar. de 2019

is there any space between 46? 3*4 + 2 + 46 = 60