Question: Write a function method1(v,w) which takes as input two vectors v and w and returns true if every element in v is in w and

Write a function method1(v,w) which takes as input two vectors v and w and returns true if every element in v is in w and returns false otherwise. Use the following pseudocode as your template. Make sure you are not copying and pasting any code from findelt1. You should be calling findelt1 directly within this function.
3. Write a function method1 (v,w) which takes as input two vectors v and w and returns true if every element in v is in w and returns false otherwise. Use the following pseudocode as your template. Make sure you are not copying and pasting any code from findelt1. You should be calling findelt1 directly within this function. default output is true for each element a in v % use finde lt 1 that you wrote above if a is not in w, return false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
