---
title: "Discussion on \"Maximum Score From Removing Substrings\" | Hashnode"
description: "Discussion on \"Maximum Score From Removing Substrings\". Problem Link\nhttps://leetcode.com/problems/maximum-score-from-removing-substrings/description/\nApproach\n\nIf x > y we have to focus on making the \"ab\" pairs more than any other pair, so we will do the same in the first pass\n\nOnce all the pairs are don..."
url: "https://hashnode.com/posts/maximum-score-from-removing-substrings/66913659ee8a95de227dac26"
---

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

Discussion

# [Maximum Score From Removing Substrings](https://ujjwalsharma.hashnode.dev/maximum-score-from-removing-substrings?utm_source=hashnode&utm_medium=feed)

Problem Link https://leetcode.com/problems/maximum-score-from-removing-substrings/description/ Approach If x > y we have to focus on making the "ab" pairs more than any other pair, so we will do the same in the first pass Once all the pairs are don...

Jul 12, 2024 · 2 min read · ujjwalsharma.hashnode.dev  
Read the article

-   [#dailydoseofdsa](https://hashnode.com/tag/dailydoseofdsa)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#problem-of-the-day](https://hashnode.com/tag/problem-of-the-day)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[Ujjwal Sharma](https://hashnode.com/@ujjwalsharma)

@ujjwalsharma · New Delhi

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

Thriving the way to success

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
