title type duration creator
Organizing Information - Challenge Questions
lab
1:30
name city
Drew Mahrt
NYC

Organizing Information - Challenge Questions

Introduction

Note: This should be completed independently.

In this lab, you will be completing a series of 3 challenge questions that involve data collections. These questions are very similar to what you would see in an interview, so this is great practice. Think through each problem before you start creating code, possibly writing out pseudocode if it will help you. Test your code when you are finished. Feel free to look up any Java documentation to help you (ie arrays, Lists, etc.)

Exercise

Requirements

  • Complete each question in its own provided method

Bonus:

  • Complete the bonus question (Marked as Bonus)
  • Optimize your methods to be more efficient

Starter code

An intelliJ project called ChallengeQuestions has been provided for you that includes a Main.java file. Each method has a comment above it that contains the problem. Complete each problem in that method (although you can write additional methods if it will help in your solution). Test each method in your code!

Deliverable

The completed Java file with solutions to the questions.