Practice It: Java Arrays
55mIntermediate2023-01-19
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 work with the array data structure, Kathryn jumps into the challenges, testing your knowledge and abilities 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.
This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out the “Using GitHub Codespaces with this course” video to learn how to get started.
This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out the “Using GitHub Codespaces with this course” video to learn how to get started.
Skills covered
JavaOracleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Test your array knowledge
- 02 - Getting started with GitHub Codespaces
1. Working with Arrays
- 03 - Working with data inside arrays
- 04 - Iterating through arrays
- 05 - Try it - Find the second smallest item in an array
- 06 - Check it - Find the second smallest item in an array
- 07 - Try it - Display a triangle
- 08 - Check it - Display a triangle
- 09 - Try it - Rotate an array
- 10 - Check it - Rotate an array
- 11 - Try it - Move all the zeros to the end
- 12 - Check it - Move all the zeros to the end
- 13 - Try it - Reverse an array in place
- 14 - Check it - Reverse an array in place
- 15 - Try it - Expanding arrays
- 16 - Check it - Expanding arrays
- 17 - Advantages and disadvantages of the array data structure
Conclusion
- 18 - Continue your practice with algorithms and data structures