Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Longest subsegment of ‘1’s formed by changing at most k ‘0’s | Set 2 (Using Queue)
Blog

Longest subsegment of ‘1’s formed by changing at most k ‘0’s | Set 2 (Using Queue)

by Rubin|Published December 23, 2021

Given a binary array a[] and a number k, we need to find the length of the longest subsegment of ‘1’s possible by changing at… Read More

The post Longest subsegment of ‘1’s formed by changing at most k ‘0’s | Set 2 (Using Queue) appeared first on GeeksforGeeks.

You may also like

ARM driver for Canon MF4880dw printer
Published March 12, 2026

ARM driver for Canon MF4880dw printer

I have a Canon MF4880dw printer (Canon ImageClass printer), and have it networked on my LAN. It has worked well with all […]

Magento 2 – How to make a customer attribute required in admin_checkout form only
Published January 12, 2022

Magento 2 – How to make a customer attribute required in admin_checkout form only

Magento 2 – How to make a customer attribute required in admin_checkout form only

Context Menu To Play Folder With Dopamine Player
Published November 8, 2025

Context Menu To Play Folder With Dopamine Player

I’m really fund of the https://github.com/digimezzo/dopamine player since he also lists folders (not only artists, albums and playlists. However, is it possible, […]

Magento doesn’t recognize module
Published December 8, 2021

Magento doesn’t recognize module

I have created new module but when I run the command magento module:status I couldn’t see my module name neither in enabled […]

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post Most universal/basic fixed width / mono font to use for emails for cross platform compatibility with formatting retention?
  • Back to post list
  • Next post Maximum count of pairs such that element at each index i is included in i pairs
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme