Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks

Skip to content
Menu
  • Java
  • Data Structure
  • LeetCode
  • SOLID Principles
  • LLM Internals

Tag: Sliding Window

Array

Subarray with Given Sum

Posted on September 17, 2020March 8, 2022 by WebRewrite

Find subarray with given sum. Given an array of unsorted integers (Positive integers), We have to write a code to find a subarray whose sum…

Share
Tweet
Share
0 Shares
Java

Count Distinct Elements in Every Window of Size K

Posted on March 20, 2020March 20, 2020 by WebRewrite

Count Distinct Elements in Every Window of Size K. Given an array of n integers and an integer k (k is always smaller or equal…

Share
Tweet
Share
0 Shares
Java

Maximum Consecutive Ones III

Posted on November 24, 2019March 19, 2022 by WebRewrite

Maximum consecutive ones III. Find maximum consecutive ones in an array of 0s and 1s, If k flip is allowed. Given an array which only…

Share
Tweet
Share
0 Shares

Posts pagination

Page 1 Page 2 Next Page

Search

Support Me on PayPal

Programming Video Tutorials


Related Posts (YARPP)

  1. Find Second Largest Number in Array
  2. Check Balanced Parentheses in an Expression
  3. Sum of Digits of a Number using Recursion – Java Code
  4. Java Program to Count Number of Words in a String

Topics

  • Multithreading

  • Linked List

  • Binary Tree

  • Hash Map

  • Java

  • Queue

  • Stack

  • Binary Search

  • Programming

  • Sliding Window

  • Composer

  • Memcache

  • Javascript

  • Solid Principles

© Copyright 2026 – Web Rewrite
Wisteria Theme by WPFriendship ⋅ Powered by WordPress