American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro to Competitive Programming – Darin

April 15 @ 7:00 pm - 8:00 pm

What We Did Today:

  1. Reviewed the difference between primitive/non-primitive data types
  2. Reviewed the use of enhanced vs. regular for loop
  3. We learned how to find sum of all numbers in an array
  4. We learned how to find sum of every other number in an array
  5. We learned how to swap two elements in an array

Homework:

Continue in your file named Apr15_ArrayAndList2.java, and submit to the google drive: here when you are finished!

// HW

// EASY
// find largest element in nums
// find smallest element in nums
// sum all even numbers
// print forwards until you hit the middle of the list

// MEDIUM
// print all items in reverse

// HARD
// swap to reverse the array

Notes:

You can reach out to me at ddjapri@ayclogic.com if you have any questions!

You can find class notes here.

Details

Date:
April 15
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights