---
title: "#count-the-substrings articles | Hashnode"
description: "Explore 2 articles tagged #count-the-substrings on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/count-the-substrings"
---

Tag

# #count-the-substrings

2 posts · 0 followers

[Pratik Shah](https://hashnode.com/@Pratik676) · [Aug 26, 2024](https://hashnode.com/posts/count-substrings-with-exactly-k-distinct-characters-in-a-string/66cc57aba54027ce3bf2fe25)

### [Count Substrings with Exactly k Distinct Characters in a String](https://pratik676.hashnode.dev/count-substrings-with-exactly-k-distinct-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

Counting substrings with exactly k distinct characters in a string using different approaches for optimal efficiency

4 min read · [pratik676.hashnode.dev](https://pratik676.hashnode.dev/count-substrings-with-exactly-k-distinct-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

[Han](https://hashnode.com/@EunHaSu) · [Aug 8, 2023](https://hashnode.com/posts/gfg-count-the-substrings-java-solution/64d2753d3b5e3892943488b1)

### [GFG Count the Substrings Java Solution](https://eunhanlee.hashnode.dev/gfg-count-the-substrings-java-solution?utm_source=hashnode&utm_medium=feed)

Problem Problem\_Link Solution Approach Condition: Substrings with an equal number of uppercase and lowercase letters If the difference between the uppercase and lowercase letters at the starting and ending positions of a specific substring is the s...

3 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/gfg-count-the-substrings-java-solution?utm_source=hashnode&utm_medium=feed)
