fill in the blanks to create a numpy array 'arr' from the list 'lst' given below: import numpy as np lst = [1,0,1,0] arr = (lst)?q=import numpy as np lst = [1,0,1,0] arr = (lst)”
given an array of time intervals (start, end) for classroom lectures (possibly overlapping), find the minimum number of rooms required. for example, given [(30, 75), (0, 50), (60, 150)], you should return 2.
Given an array, choose two contiguous non-overlapping arrays, such that all elements are strictly increasing. Return the maximum length possible for this combination. Ex: 7 1 2 4 6 5 3 8 9 10 => ans: 7 (Choose 1 2 4 6 & 8 9 10) l