---
title: "Discussion on \"Longest K unique characters substring\" | Hashnode"
description: "Discussion on \"Longest K unique characters substring\". this problem is done using the sliding window technique..\nIn this, we will first make a map that will store characters and their count until the size of the map is less than k and increment j by one every time until the map size is less than k.\nonce ..."
url: "https://hashnode.com/posts/longest-k-unique-characters-substring/64709a1e1c8f0e20d3d4a475"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Longest K unique characters substring](https://pushpdeep.hashnode.dev/longest-k-unique-characters-substring?utm_source=hashnode&utm_medium=feed)

this problem is done using the sliding window technique.. In this, we will first make a map that will store characters and their count until the size of the map is less than k and increment j by one every time until the map size is less than k. once ...

May 26, 2023 · 1 min read · pushpdeep.hashnode.dev  
Read the article

## Written by

[Pushpdeep singh](https://hashnode.com/@pushpdeep)

@pushpdeep

  
[View profile](https://hashnode.com/@pushpdeep)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
