Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Array of Objects Algorithms - Search, Sort, Reverse, Max, Min, Custom Methods

CodeBeauty via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn essential algorithms for working with arrays of objects in this comprehensive tutorial. Master techniques for searching specific elements, sorting and reversing arrays, and finding minimum and maximum elements using custom criteria. Explore the implementation of custom comparison methods and understand good programming practices like passing data by reference versus value. Dive into concepts such as ASCII code and its relevance in sorting. Apply your newfound knowledge with a practical task at the end to reinforce your learning. Ideal for programmers looking to enhance their skills in array manipulation and algorithm design.

Syllabus

- What you will learn in this video
- Explaining initial code
- Creating and initializing array of objects
- Algorithm for searching objects in the array
- Algorithm for sorting objects in the array
- Implementing custom method for comparing objects in array
- Good programming practices - passing data by reference vs passing data by value
- Implementing another custom method for comparing objects in array
- ASCII code explained
- Reversing array
- Finding max element in array
- Finding min element in array
- Practical task for you

Taught by

CodeBeauty

Reviews

Start your review of Array of Objects Algorithms - Search, Sort, Reverse, Max, Min, Custom Methods

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.