## Question 1 What is the output if the following list of points and value of k is given as input? Select all that apply. points = [[1, 3], [-2, 4], [2, -1], [-2, 2], [5, -3], [3, -2]] k = 3 ### Options 1. [[1, 3], [-2, 2], [5, -3]] Incorrect ---------------------------- 2. [[2, -1], [-2, 2], [1, 3]] Correct k closest points to the origin (0, 0). ---------------------------- 3. [[1, 3], [-2, 2], [2, -1]] Correct k closest points to the origin (0, 0) in a different order. ---------------------------- 4. [[1, 3], [-2, 2], [3, -2]] Incorrect ---------------------------- --------------------------------------------- ## Question 2 What is the output if the following list of points and value of k is given as input? Select all that apply. points = [[1, -3], [4, -2], [2, -1], [-2, 2], [-5, 3], [3, -2]] k = 4 ### Options 1. [[1, -3], [2, -1], [-2, 2], [3, -2]] Correct k closest points to the origin (0, 0). ---------------------------- 2. [[2, -1], [1, -3], [-5, 3], [-2, 2]] Incorrect ---------------------------- 3. [[2, -1], [-2, 2], [1, -3], [3, -2]] Correct k closest points to the origin (0, 0) in a different order. ---------------------------- 4. [[-2, 2], [1, -3], [4, -2], [3, -2]] Incorrect ---------------------------- --------------------------------------------- ## Question 3 What is the output if the following list of points and value of k is given as input? Select all that apply. points = [[1, 3], [2, -4], [2, -1], [-2, 2]] k = 3 ### Options 1. [[2, -1], [1, 3], [2, -4]] Incorrect ---------------------------- 2. [[1, 3], [-2, 2], [2, -1]] Correct k closest points to the origin (0, 0). ---------------------------- 3. [[2, -4], [2, -1], [-2, 2]] Incorrect ---------------------------- 4. [[2, -1], [-2, 2], [1, 3]] Correct k closest points to the origin (0, 0) in a different order. ---------------------------- --------------------------------------------- ## Question 4 What is the output if the following list of points and value of k is given as input? Select all that apply. points = [[-1, -3], [-4, -5], [-2, -2], [-2, -3]] k = 3 ### Options 1. [[-1, -3], [-4, -5], [-2, -2]] Incorrect ---------------------------- 2. [[-2, -3], [-1, -3], [-2, -2]] Correct k closest points to the origin (0, 0). ---------------------------- 3. [[-4, -5], [-2, -2], [-2, -3]] Incorrect ---------------------------- 4. [[-1, -3], [-2, -2], [-2, -3]] Correct k closest points to the origin (0, 0) in a different order. ---------------------------- ---------------------------------------------