Sliding Window

Algorithm

  • Given the array, it is used when we need to deal with something within the specific sections
  • For sliding window, we let the sections with the constant size move one by one
    • remove the first element of the section + add the new element
    • It’s like “Queue”

Pagination


© 2017. All rights reserved.

Powered by Hydejack v조현진