Question: Question 3: A table stores the data for all the members of an exotic resort. Members are identified by these numbers 1,5,30,70,80,20,15,100,40,25,7,3,8,33,22. All members are
Question 3:
A table stores the data for all the members of an exotic resort. Members are identified by these numbers 1,5,30,70,80,20,15,100,40,25,7,3,8,33,22.
All members are to be invited in a meeting to review the membership policies. What will be the fastest way to call all the members? Write algorithm to justify your answer.
Question 4:
Consider the following expression
(P+Q) / (M-N) - (A*B)
a) Create a graph of the expression such that each operator has 2 indegree and one outdegree where each operand has 1 degree
b) Apply stack to the expression after it is converted to graph. Start from the beginning of expression.
language :: data structure and algorithm(DSA) in C++ language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
