Jess: Data Structures, Week 4
Chapter 3: Lists, Stacks, and Queues
3.1 You are given a list, L, and another list, P, containing integers sorted in ascending order. The operation printLots(L,P) will print the elements in L that are in positions specified by P. For instance, if P =…