Pergunta de entrevista da empresa Siemens

How do you store a logic signal in data structure.

Resposta da entrevista

Sigiloso

11 de abr. de 2025

First I said we can store it in strings, but then interviewer tweeked it and said we won't be able to process it optimally. So, finally I came to conclusion that we need a tree type data structure, where root stores the operatores like ('|', '^',...] , and leave have the operands.