| title | Organizing Information - Challenge Questions | ||||
|---|---|---|---|---|---|
| type | lab | ||||
| duration | 1:30 | ||||
| creator |
|
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. Run your code against the included test cases when you are finished. Feel free to look up any Java documentation to help you (ie arrays, Lists, etc.)
- Complete each question in its own provided method
- Your methods must pass all of the included test cases
Bonus:
- Complete the bonus question (Marked as Bonus)
- Optimize your methods to be more efficient
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!
The completed Java file with solutions to the questions.
- All content is licensed under a CCBYNCSA 4.0 license.
- All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.
