Key Skills About List

  • Multiple Index
    • Use double or multiple index for loop the array
    • examples
      • 2161 Partition Array According to Given Pivot
        • O(N) + O(N)
        • O(N^2) + O(1) (idea of insertion sort)
        • TODO: More ideas?

results matching ""

    No results matching ""