3
Answers

Data Structure

Hendrew uy

Hendrew uy

15y
2.4k
1
Hello, all! First, there is an integer array for example 1,2,3,4 Second, there are logical "rules" of following types: 1&2 = rule_1, 1|3 = rule_2, 1^4 = rule_3 (& - AND, | - OR, ^ = NOT) The task is to search for the rules. So the question is how can I implement this kind of search, are there any source codes or libraries? I'll be very glad if someone helps me to cope with this problem and offers some ideas or examples especially on C#. Beforehand, great thanks!
Answers (3)