Practice: Java Arrays (2022)
56mIntermediate2022-05-23
Authors

Kathryn Hodge
Software Developer
Course details
Do you have experience using arrays in Java? Want to put your knowledge to the test or get more experience? If so, check out this course, as instructor Kathryn Hodge presents a series of challenges centered around real-world problems you might encounter and use arrays to solve. After a short review of the basics of how to use the array data structure, Kathryn jumps into the challenges, testing your knowledge of looping through arrays, using the modulo operator with arrays, working with array indices, and more. If you’re looking to improve your command of Java arrays, get started on the path to mastery with these carefully chosen challenges and detailed solutions.
Skills covered
JavaOracleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Test your array knowledge
- 02 - Setting up your system
1. Working with Arrays
- 03 - Working with data inside arrays
- 04 - Iterating through arrays
- 05 - Challenge - Find the second smallest item in an array
- 06 - Solution - Find the second smallest item in an array
- 07 - Challenge - Display a triangle
- 08 - Solution - Display a triangle
- 09 - Challenge - Rotate an array
- 10 - Solution - Rotate an array
- 11 - Challenge - Move all the zeros to the end
- 12 - Solution - Move all the zeros to the end
- 13 - Challenge - Reverse an array in place
- 14 - Solution - Reverse an array in place
- 15 - Challenge - Expanding arrays
- 16 - Solution - Expanding arrays
- 17 - Advantages and disadvantages of the array data structure
Conclusion
- 18 - Continue your practice with algorithms and data structures