Harder. She needed to randomly pick an element from the remaining unshuffled part and swap it with the current position. No ArrayList tricks — just arrays.
Maya almost did. But Mr. Henderson's voice echoed in her head: "If you copy answers, you'll fail the AP exam's free-response questions." ap computer science elevens lab activity 3 answers
Her friend Leo messaged: "Just post the code." Harder
She messaged Leo back: "Not giving answers. But hint: trace the loops with a mini deck of 4 cards on paper first. Then code writes itself." ap computer science elevens lab activity 3 answers