Bank of America interview question

1. Difference between iterator and generator 2. Python list to count the numbers and multiply it 3. Heap sort 4. Fetch 1st index of 1 in list of 0’s and 1’s 5. Binary sort 6. Tree datastructure