American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

2:30 PM – Intro To Competitive Programming – Gamas

September 30, 2023 @ 2:30 pm - 3:30 pm

Today We Did
  1. We continued with exploring more List practices
    1. printForwardEveryOtherElement
    2. swapFirstAndLast
    3. flipList
Homework

Inside Sep23ArrayAndListIteration.java

  1. finish the boolean isPalindrome(String[] text) method. This is similar to how flipList method works.
  2. study how to Java String substring functions works. Look at example in https://www.w3schools.blog/substring-in-java . So basically you need to know how to iterate one letter at a time in a String.
  3. Once you figure out how Java String substring works, create a new  method boolean isPalindrome(String text) method. This one is very similar to #1 but the parameter is String text instead of String[] text.

Details

Date:
September 30, 2023
Time:
2:30 pm - 3:30 pm
Verified by MonsterInsights