Title: Day 30 q3: Minimum deletion to make string balanced · Issue #624 · SnowScriptWinterOfCode/LeetCode_Q · GitHub
Open Graph Title: Day 30 q3: Minimum deletion to make string balanced · Issue #624 · SnowScriptWinterOfCode/LeetCode_Q
X Title: Day 30 q3: Minimum deletion to make string balanced · Issue #624 · SnowScriptWinterOfCode/LeetCode_Q
Description: You are given a string s consisting only of characters 'a' and 'b'. You can delete any number of characters in s to make s balanced. s is balanced if there is no pair of indices (i,j) such that i < j and s[i] = 'b' and s[j]= 'a'. Ret...
Open Graph Description: You are given a string s consisting only of characters 'a' and 'b'. You can delete any number of characters in s to make s balanced. s is balanced if there is no pair of indices (i,j) such that...
X Description: You are given a string s consisting only of characters 'a' and 'b'. You can delete any number of characters in s to make s balanced. s is balanced if there is no pair of indices...
Opengraph URL: https://github.com/SnowScriptWinterOfCode/LeetCode_Q/issues/624
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Day 30 q3: Minimum deletion to make string balanced","articleBody":"You are given a string s consisting only of characters 'a' and 'b'.\r\n\r\nYou can delete any number of characters in s to make s balanced. s is balanced if there is no pair of indices (i,j) such that i \u003c j and s[i] = 'b' and s[j]= 'a'.\r\n\r\nReturn the minimum number of deletions needed to make s balanced.\r\n\r\nExample 1:\r\nInput: s = \"aababbab\"\r\nOutput: 2\r\nExplanation: You can either:\r\nDelete the characters at 0-indexed positions 2 and 6 (\"aababbab\" -> \"aaabbb\"), or\r\nDelete the characters at 0-indexed positions 3 and 6 (\"aababbab\" -> \"aabbbb\").","author":{"url":"https://github.com/Smita-Maurya","@type":"Person","name":"Smita-Maurya"},"datePublished":"2024-01-28T13:46:09Z","url":"https://github.com/SnowScriptWinterOfCode/LeetCode_Q/issues/624"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:98f5b950-bf71-85e3-7565-136d637eec6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F54:CF959:2AEC9AC:3840D2E:6B000A75 |
| html-safe-nonce | d8f62b220462f2df1a67786b3f5907378efe95e5f85a19481163f2e7c956a7de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjU0OkNGOTU5OjJBRUM5QUM6Mzg0MEQyRTo2QjAwMEE3NSIsInZpc2l0b3JfaWQiOiI2NjU2OTE0MzE4MDQwMjM4NzA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9008df8121432ed977cd62267ff4cc728e05a9eea82b5236b09342da3ce9ed94 |
| hovercard-subject-tag | issue:2104172003 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SnowScriptWinterOfCode/LeetCode_Q/624/issue_layout |
| twitter:image | https://opengraph.githubassets.com/66a7a13152700c030b6b4e2808ae010d70cba1b8380c984032d13e12ad97f987/SnowScriptWinterOfCode/LeetCode_Q/issues/624 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/66a7a13152700c030b6b4e2808ae010d70cba1b8380c984032d13e12ad97f987/SnowScriptWinterOfCode/LeetCode_Q/issues/624 |
| og:image:alt | You are given a string s consisting only of characters 'a' and 'b'. You can delete any number of characters in s to make s balanced. s is balanced if there is no pair of indices (i,j) such that... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Smita-Maurya |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/SnowScriptWinterOfCode/LeetCode_Q git https://github.com/SnowScriptWinterOfCode/LeetCode_Q.git |
| octolytics-dimension-user_id | 154897622 |
| octolytics-dimension-user_login | SnowScriptWinterOfCode |
| octolytics-dimension-repository_id | 735947375 |
| octolytics-dimension-repository_nwo | SnowScriptWinterOfCode/LeetCode_Q |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 735947375 |
| octolytics-dimension-repository_network_root_nwo | SnowScriptWinterOfCode/LeetCode_Q |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width