Question d’entretien chez Siemens

How do you store a logic signal in data structure.

Réponse à la question d'entretien

Utilisateur anonyme

11 avr. 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.