Leetcode Crash Note: Array

Here we first talk about one dimensional array: which is itself, array. Then we are going to introduce the two dimensional array: Metrics. Array: As always we go with tricks in arrays first! Array Tricks! 1. initialization array = [1, 3, 4] # use * to initialize l = [0] * len(array) # use list…