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

LinkedIn Learning

Java Algorithms

via LinkedIn Learning

Overview

Learn how to efficiently optimize and create algorithms in Java.

Syllabus

Introduction
  • Improve your Java applications with effective algorithms
  • What is an algorithm?
  • How to optimize an algorithm
  • Optimize an algorithm in Java
  • How to describe the time complexity of an algorithm
1. String Algorithms
  • Validate Strings in Java: All-or-nothing properties
  • Validate strings in Java: Specific properties
  • Normalize strings in Java
  • Basic parsing and searching strings in Java
  • Apply custom parsing to search algorithms
  • Create algorithm-driven strings in Java
  • Leverage built-in tools to generate custom data
  • Challenge: Reverse each word
  • Solution: Reverse each word
2. Array Algorithms
  • Linear search arrays in Java
  • Linear search arrays with Java streams
  • Binary search arrays in Java
  • Aggregate and filter arrays in Java
  • Reverse an array in Java
  • Challenge: Rotate an array
  • Solution: Rotate an array
3. Linked List Algorithms
  • What is a linked list?
  • Using the built-in linked list data structure in Java
  • Create a custom data structure for linked list algorithms
  • Linked list algorithms: Delete back half of a linked list
  • Challenge: Delete kth node from the end of the list
  • Solution: Delete kth node from the end of the list
4. Queue and Stack Algorithms
  • What is a queue?
  • Standard queue operations in Java
  • Queue algorithms: Generate binary numbers
  • What is a stack?
  • Basic stack operations in Java
  • Stack algorithms: Theorizing an algorithm
  • Stack algorithms: Next greater element
  • Stack algorithms: Matching parentheses
5. Algorithms for Hash-Based Structures
  • Hash-based structures in Java
  • HashMap and HashSet operations in Java
  • Leverage the HashSet type in Java algorithms
  • Use the HashMap type in Java algorithms
  • Challenge: Detect a cyclic linked list
  • Solution: Detect a cyclic linked list
6. Tree Algorithms
  • What is a tree?
  • Binary trees in Java
  • What are tree traversals?
  • Implement tree traversals in Java
  • Challenge: Develop a search algorithm
  • Solution: Develop a search algorithm
Conclusion
  • Continue optimizing algorithms

Taught by

Kathryn Hodge

Reviews

4.8 rating at LinkedIn Learning based on 181 ratings

Start your review of Java Algorithms

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.