Question: 2 ered suppose you have ql as integer queue with the following data [1,2,3,4,5,6), where I is at the front of the queue and qi
2 ered suppose you have ql as integer queue with the following data [1,2,3,4,5,6), where I is at the front of the queue and qi is passed to a recursive method fl(), what the output of executing f10? 12.00 son void fl( Lqueue ql ) { System.out.print (q1.dequeue()); if (!ql.isEmpty()) fi( q1): Select one: O a. 1,2,3,4,5,6 O b. 6,5,4,3,2,1 c. method fi() is not executable d. 1,6,2,5,3,4 S PAGE NEXT PAGE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
