Hello, you have come here looking for the meaning of the word
subarray. In DICTIOUS you will not only get to know all the dictionary meanings for the word
subarray, but we will also tell you about its etymology, its characteristics and you will know how to say
subarray in singular and plural. Everything you need to know about the word
subarray you have here. The definition of the word
subarray will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
subarray, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
English
Etymology
From sub- + array.
Noun
subarray (plural subarrays)
- (programming) A contiguous subset of an array.
Usage notes
A subarray is to be contrasted with a subsequence. A subsequence only needs to have the same ordering as the original array, a weaker condition than contiguity.
If a string is viewed as an array of characters, then a substring is a subarray.