Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Python 3 Question 6 (1 point) Assume you are writing a program to solve a maze,

ID: 3806039 • Letter: P

Question

Python 3

Question 6 (1 point) Assume you are writing a program to solve a maze, and you want it to go all the way to a dead end then backtrack to the last junction, and try a different path until its end, then backtrack again to another junction and try again. In other words, you might find yourself looking at the following squares in this order: Start in A Move to B Move to C Move to D, found dead end, return back to C Move to E found dead end return back to C Nothing new to try at C return back to B Which data structure would best model this behavior? Set O Linked List O Queue O Map O Stack O Dynamic Array

Explanation / Answer

7)what is average casetime complexity of quicksort
sol:O(n log(n))
  
8)what is worst case time complexity of insertion sort
sol:O(n^2)
  

10)assume you are writing a system to keep track of student asking for help in the help center
which of the follwoinng data structure is the best fit to store them

sol:queue ,dynamic array is the best suitable data structure for this type of scenario