Array Exercises

  1. Declare Empty Arrays
  • get data from command-line

    • into a fixed array; see how it blows beyond its len
  • add items

  • get items

  • check the length

  • print the items

  • reverse the array

  • shuffle the items

  • find the first item that contains x

  • find the last item that contains y

  • find the duplicate items

  1. text

    text