Stack and queue related to formal methods | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Stack and queue related to formal methods

Develop some statements with relevant conclusions that represents facts of stack, queue, searching or sorting operations. Statement may consist of true or false value and must be transformed into symbolic form? Can anyone help me with this?

15th Apr 2019, 4:24 PM
Paveetra
Paveetra - avatar
1 ответ
+ 3
Stack is based upon LIFO last in fist out principle. Here is the program for stack It might not run properly in Sololearn codeground but you can understand the concept of stack seeing the logic. https://code.sololearn.com/cKk3ZYhO74e9/?ref=app
20th Apr 2019, 7:34 AM
Samar Singhai
Samar Singhai - avatar