Question: Question 8 Given an array of size n , let's assume an element is 'touched' if and only if some operation is performed on it
Question
Given an array of size n let's assume an element is 'touched' if and only if some operation is performed on itfor example, for performing a pop operation the top element is 'touched' Now you need to perform Dequeue operation. Each element in the array is touched atleast?
Your answer:
Thrice
Twice
Four times
Once
Clear answer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
