namanvats / cpalgorithms

Algorithms and Techniques for competitive programming
MIT License
18 stars 29 forks source link

Problems on Sliding Window Technique #40

Open gnp31 opened 4 years ago

gnp31 commented 4 years ago

I am currently working on these sliding window technique problems:

  1. Find the longest substring of given string containing k distinct characters
  2. Longest substring of given string containing distinct characters
  3. Find all substrings of a string that are permutation of a given string
  4. Print all sub-arrays of an array having distinct elements
  5. Find duplicates within given range k in an array

Shall I make a separate folder and push?

gnp31 commented 4 years ago

I have made a PR. Please check.