Data Structures and Algorithms with Java (Udemy.com)
Master Java Programming & Data Structures
Created by: Piyush Garg
Last updated May 2025
Our take
Based on the ratings of 93 students, a sample of their written reviews and the syllabus, as the course stood in May 2025. No course pays to be reviewed.
This is a two-in-one course. The first stretch teaches Java itself: basics, OOP, and a section on SOLID, DRY and KISS plus some design patterns. Then it moves into data structures, running from arrays and linked lists to binary trees, AVL trees, heaps, tries and graphs, and it finishes with sorting and searching. The syllabus has 241 lectures over about 43 hours. It suits students and early-career developers getting ready for internship or job interviews who would like one instructor for the language and the DSA.
Reviewers keep coming back to Piyush Garg's explanations. One beginner says the teaching is easy to follow, and a longer review praises how clearly he covers data types, loops and OOP without spending time on outdated theory. The course holds a 4.6 rating from 93 reviews, with no one or two star ratings and eight at three stars. That same detailed review gives four stars and says the course leaves you wanting a bit more. The data points to one gap: there are no quizzes, coding exercises or assignments, so all the practice happens in videos of the instructor solving problems.
It's still young, with 787 students, and it hasn't been updated since its May 2025 launch. The tree and graph sections are thorough, at over five hours on binary trees alone. Dynamic programming doesn't show up in the syllabus, though. For learners who like his YouTube style and want Java and DSA in one place, it's a solid pick. Pair it with an outside practice site for hands-on coding.
Pros
- Clear, beginner-friendly explanations of Java fundamentals and OOP, according to reviewers
- Covers both Java and DSA, including design principles and machine coding prep
- Deep tree coverage: binary trees, BST, AVL, heaps and tries get over 12 hours combined
- Dedicated problem-solving sections for arrays, linked lists and stacks
Cons
- No quizzes, coding exercises or assignments, so the practice has to come from elsewhere
- No dynamic programming section, and it hasn't been updated since its May 2025 launch
- Small review base so far, and one detailed review says it leaves you wanting a bit more
I like the way of teaching even a beginner like me can understand this easily
Labeled beginner. It suits true beginners, but the pace toward graphs and AVL trees rewards some prior coding exposure.
What you will learn
- Core Java Programming – Syntax, data types, control structures, functions, and exception handling.
- Object-Oriented Programming (OOP) – Concepts like classes, objects, inheritance, polymorphism, abstraction, and encapsulation in Java.
- Design Principles – Industry-standard principles such as SOLID, DRY, KISS, and YAGNI to write clean, maintainable code.
- Design Patterns & Machine Coding – Introduction to common design patterns and how to approach machine coding rounds in interviews.
- Linear Data Structures – Implementation and use cases of Arrays, ArrayLists, LinkedLists, Stacks, Queues, and HashMaps in Java.
- Non-Linear Data Structures – Understanding Trees (BST, AVL), Heaps (Min/Max), Tries, and Graphs along with traversal algorithms like DFS and BFS.
- Bit Manipulation – In-depth understanding of how bits work, including binary-decimal conversions and low-level operations.
- Space and Time Complexity – Learn how to analyze the efficiency of your code using Big-O notation.
Course content
30 sections · 241 lectures · 43 hours of video
- 1Introduction 2 free previews2 lectures · 16 min
- 2Basics 2 free previews18 lectures · 3.5 hours
- 3Object Oriented Programming with Java 1 free preview11 lectures · 1.9 hours
- 4Design Principles and Patterns 2 free previews12 lectures · 1.7 hours
- 5Data Structure and Algorithms 1 free preview7 lectures · 1.2 hours
- 6Fundamentals 1 free preview9 lectures · 2.1 hours
- 7Basic Maths3 lectures · 34 min
- 8Basics of Recursion2 lectures · 23 min
- 9Linear Data Structures 1 free preview10 lectures · 1.4 hours
- 10Problem Solving - Arrays7 lectures · 2 hours
- 11Linked Lists 1 free preview12 lectures · 2.3 hours
- 12Problem Solving - LinkedList6 lectures · 58 min
- 13Stacks8 lectures · 41 min
- 14Problem Solving Stacks10 lectures · 2 hours
- 15Queues 1 free preview10 lectures · 1 hour
- 16Queue Part - 26 lectures · 57 min
- 17HashMaps 1 free preview12 lectures · 1.1 hours
- 18Non Linear Data Structures 1 free preview1 lecture · 3 min
- 19Binary Trees 1 free preview15 lectures · 2.6 hours
- 20Mastering Binary Trees15 lectures · 2.9 hours
- 21Binary Search Trees6 lectures · 1.1 hours
- 22AVL Trees8 lectures · 1 hour
- 23Heaps 1 free preview8 lectures · 2.8 hours
- 24Tries5 lectures · 2 hours
- 25Graphs 1 free preview12 lectures · 2.5 hours
- 26Undirected Graphs7 lectures · 1.2 hours
- 27Algorithms7 lectures · 1.3 hours
- 28Mastering Recursion - Part 23 lectures · 37 min
- 29Sorting Algorithms5 lectures · 56 min
- 30Searching Algorithms4 lectures · 22 min
Who it is for
The instructor says it suits
- Beginners who want to start programming and are looking for a structured, beginner-friendly introduction to Java and core programming concepts.
- College and university students studying computer science or related fields who want to build a solid foundation in Java and data structures.
- Aspiring software engineers preparing for internships, job interviews, and machine coding rounds at top tech companies.
- Java developers looking to refresh or deepen their understanding of core concepts, OOP, and data structures.
- Competitive programming enthusiasts who want to improve their grasp of Java's implementation of complex data structures.
- Professionals preparing for technical interviews who need a strong revision of linear and non-linear data structures using Java.
What you need before you start
- Basic familiarity with programming concepts (helpful but not mandatory)
How it compares
Against the other 495 rated Udemy courses in Software Development on CourseDuck:
- Rating4.6 out of 5higher than 63% of them
- Reviews93#427 of 496 by number of reviews
- Length43.4 hourslonger than 95% of them
- Last updatedMay 2025earlier than 53% of them
Course Description
Welcome to the ultimate Java programming course by Piyush Garg — designed for beginners, intermediate learners, and seasoned developers who want to master Java and data structures from the ground up.
In this comprehensive course, we begin with the core fundamentals of Java, covering syntax, object-oriented programming (OOP), and essential design principles like SOLID, DRY, and KISS. Whether you're new to programming or a college student aiming to strengthen your Java skills, this course is your go-to guide. We'll progress gradually, ensuring crystal-clear understanding of each topic.
Java, being the most popular programming language, powers over 90% of Fortune 500 companies, Android applications, and financial systems. Its strong support for OOP makes it the ideal choice for aspiring software engineers.
You’ll also learn to implement and work with both linear and non-linear data structures. In the linear section, we cover Arrays, ArrayLists, LinkedLists, Stacks, Queues, and HashMaps — the building blocks of any efficient program. Then, we dive into advanced topics like Trees (BST, AVL), Heaps (Min/Max), Tries, and Graphs, including key traversal algorithms like DFS and BFS.
This course is packed with coding challenges to help you solidify concepts and prepare for technical interviews and machine coding rounds.
By the end, you’ll be confident in Java and equipped to master Data Structures and Algorithms with ease.
Instructor Details
- 4.6 Rating
93 Reviews
Piyush Garg
My name is Piyush Garg, and I'm a full-stack developer, educator, and content creator dedicated to helping developers level up their careers.
With over 325,000 subscribers on YouTube, 80,000+ followers on LinkedIn, and 30,000+ on X (formerly Twitter), I've built a strong tech community by teaching real-world coding skills through project-based learning. I've worked across the stack using Node.js, React, Docker, AWS, Redis, WebRTC, and more—translating that experience into high-impact, beginner-to-advanced content that’s both practical and industry-relevant.
My teaching style is hands-on, fast-paced, and focused on building real projects—not just theory. Whether you're just getting started or looking to deepen your skills, my goal is to make you confident and job-ready.
Join me on Udemy to build powerful applications, understand complex systems, and learn by doing.
More Software Development courses
MATLAB Programming Simulink: Beginner to Pro with ChatGPT (2026)
5.0 (930 Reviews)
Provider: Udemy
Time: 9.6h
$10.99
Original priceVim Masterclass (2026)
4.9 (6,162 Reviews)
Provider: Udemy
Time: 7.6h
$15.99
Original priceNodeJS Internals and Architecture (2025)
4.9 (801 Reviews)
Provider: Udemy
Time: 21.2h
$11.99
Original priceBuild Web Apps with Nuxt.js 3: Master TypeScript & API [New] (2026)
4.9 (635 Reviews)
Provider: Udemy
Time: 6.7h
$11.99
Original priceLearn to Code with Rust (2026)
4.8 (1,976 Reviews)
Provider: Udemy
Time: 68.8h
$11.99
Original priceTerraform 101: The Ultimate Hands-On Guide [Azure Edition] (2025)
4.8 (1,975 Reviews)
Provider: Udemy
Time: 11.9h
$11.99
Original price
Reviews
By Sarthak Kumar on 10/26/2026
simple way of explaining
By Dixith B M on 2/19/2026
Superb....!!www
By J.A.I.H.Deshappriya on 8/17/2025
Good Explanation
By Aastha on 8/14/2025
I like the way of teaching even a beginner like me can understand this easily
By Amit Kukreja on 5/24/2025
⭐️⭐️⭐️⭐️☆ (4/5) A Strong Java Foundation, but Leaves You Wanting a Bit More I’ve just completed the foundational section (up to Interfaces) of Piyush Garg’s Master Data Structures & Algorithms in Java course, and here’s my honest take: ✅ What’s Great: • Crystal Clear Explanations: Piyush Sir has a unique way of simplifying core concepts — whether it’s primitive data types, loops, functions, or OOP up to interfaces. I felt like I was truly understanding Java, not just learning syntax. • Perfectly Pitched for DSA: This course doesn’t waste time on outdated theory. It’s clearly designed for learners aiming to crack interviews and understand real problem-solving with Java. • Short & Focused Videos: The videos are mostly 5–15 minutes long, making it easy to stay consistent and build momentum. What’s Missing: • No Problem-Solving Sets in Basics: From the very start till Interfaces, there are almost no hands-on questions for topics like loops, arrays, or functions. A few practical problems after each core concept would’ve made the learning richer and more interactive. • Lack of Roadmap / Career Guidance: There’s no discussion on: • Current AI/ML hype and how Java fits in • Job roles/salaries and skills needed after DSA • What to learn after Java (like Spring Boot, backend dev, system design etc.) • No Final Wrap-Up Section: The course feels slightly incomplete near the end. A final summary or farewell video would’ve added a sense of closure and next-step motivation. Final Verdict: Even with its gaps, this course is a solid gateway into Java + DSA — especially for students, beginners, or anyone restarting their Java journey. Piyush Sir’s teaching style really helps in building confidence. I just hope future updates might include: • Basic-level problem sets early on • A roadmap beyond Java • And maybe a final reflection to wrap up the journey Still, 100% worth it for the clarity it brings — just be ready to supplement it with your own practice and roadmap planning.
By Suraj Shinde on 5/22/2025
Very Good Explanation
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 92 / 100



![Build Web Apps with Nuxt.js 3: Master TypeScript & API [New]](/programming/software-development/images/6457785_5adc_4.jpg?v=1789443959)

![Terraform 101: The Ultimate Hands-On Guide [Azure Edition]](/programming/software-development/images/6208847_f60a_7.jpg?v=1791193600)
