• Develop code for standard and original algorithms for a particular context or specification that involves arrays and determine the result of these algorithms

Assignment


Straight from the APโ€™s course guide, here are the array-related algorithms you should know how to implement:

  • determine a minimum or maximum value
  • compute a sum or average
  • determine if at least one element has a particular property
  • determine if all elements have a particular property
  • determine the number of elements having a particular property
  • access all consecutive pairs of elements
  • determine the presence or absence of duplicate elements
  • shift or rotate elements left or right
  • reverse the order of the elements

There are exercises for each of these, so donโ€™t let me keep you.