About 20,100 results
Open links in new tab
  1. Subarrays, Subsequences, and Subsets in Array - GeeksforGeeks

    Jul 24, 2025 · A subarray is a contiguous part of array, i.e., Subarray is an array that is inside another array. In general, for an array …

  2. arrays - Definition of subarray - Stack Overflow

    Jan 8, 2018 · Subarray refers to a contiguous list whereas Subsequence refers to a non-contiguous list.

  3. Subarray/Substring vs Subsequence and Programs to Generate them

    Jul 23, 2025 · A subarray or substring will always be contiguous, but a subsequence need not be contiguous. That is, subsequences …

  4. Maximum subarray problem - Wikipedia

    In computer science, the maximum sum subarray problem, also known as the maximum segment sum problem, is the task of finding …

  5. Difference between Subarray, Subsequence, and Subset

    Sep 18, 2025 · A subarray is a slice from a contiguous array (i.e., occupy consecutive positions) and inherently maintains the order …

  6. TypedArray.prototype.subarray () - JavaScript | MDN

    Jul 10, 2025 · The subarray () method of TypedArray instances returns a new typed array on the same ArrayBuffer store and with the …

  7. Subarray Sum Equals K - LeetCode

    Subarray Sum Equals K - Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals …

  8. subarray - Wiktionary, the free dictionary

    Sep 21, 2026 · Noun subarray (plural subarrays) (computer science) A contiguous subset of an array.

  9. Maximum Subarray - LeetCode

    Maximum Subarray - Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: Input: …

  10. Find All the Subarrays of a Given Array in Java

    Dec 10, 2024 · As per problem statement, we have to find all the subarrays of a given array. Subarrays are part or a section of an …

  11. Some results have been removed