about | help | code help+videos | done | prefs |
sspiege3@schools.nyc.gov arrays3.a
There are standard algorithms that utilize array traversals to:
CON-2.I.1.vii: Determine the number of elements meeting specific criteria.
arrayCount9 H
countValues H
no13
CON-2.I.1.ii: Compute a sum, averageā¦
sumEvenIndex
sumOdds
sum28
CON-2.I.1.i: Determine a minimum or maximum value.
findLargest
bigDiff
centeredAverage
longestString
CON-2.I.1.iii: Determine if at least one element has a particular property.
hasIng
CON-2.I.1.iv: Determine if all elements have a particular property.
allIng1
allIng2 H
Copyright Nick Parlante 2017 - privacy