Assignments #

Created Tuesday 10 December 2019

A1: Push zeros to the end A2: Rotate Array A3: Second Largest in an array A4: Check Array Rotation A5: Sort 0, 1, 2 A6: Sum of Two Arrays

Note: Learnt to use dynamic window. Moves on step at a time, like a tank. Size increases when we get favourable a element. We maintain the window using a pointer, and two integer values (front, back), corresponding to the 1st and the last index.