Description
How does Google Maps plan the best route for getting around town given current traffic conditions? How does an internet router forward packets of network traffic to minimize delay? How does an aid group allocate resources to its affiliated local partners?
To solve such problems, we first represent the key pieces of data in a complex data structure. In this course, you’ll learn about data structures, like graphs, that are fundamental for working with structured real world data. You will develop, implement, and analyze algorithms for working with this data to solve real world problems. In addition, as the programs you develop in this course become more complex, we’ll examine what makes for good code and class hierarchy design so that you can not only write correct code, but also share it with other people and maintain it in the future.
The backbone project in this course will be a route planning application. You will apply the concepts from each Module directly to building an application that allows an autonomous agent (or a human driver!) to navigate its environment. And as usual we have our different video series to help tie the content back to its importance in the real world and to provide tiered levels of support to meet your personal needs.
What you will learn
Introduction to the Course
Welcome to the first week in the third course of our Intermediate Java Programming Specialization. Once again start with introductions, and in particular introduce the unique structure of this course. Also, if you’re not sure if this course is right for you, we’ve got an optional pre-course quiz coming right up that can help you figure out if you’re in the right place. If you decide to stay with us (and we really hope you will!) we’ve got a great backbone project for you: your very own mapping application, inspired by Google Maps! The core data structure throughout this course is graphs, which may very well be the most fundamental data structure in all of computer science. Ready to begin? So are we!
Introduction to Graphs
This week we’ll start getting technical, introducing you to the central data structure in the course: Graphs. You’ll learn the basics and then have a chance to dive in a little deeper into the code, getting ready to start building that Google Maps-like application.
Class design and simple graph search
This week you’ll get the backbone of your map search engine up and running. In previous courses, including the previous courses in this specialization, you’ve probably been given most of the classes you needed to complete the assignments. But learning how to design classes from scratch is a key skill that you will need as you become a more sophisticated Java programmer. This week we’ll give you the tools you need to create a robust and elegant class design for your map search engine. We’ll introduce a similar problem and show you how it can be represented as a graph. Then we’ll introduce two core search algorithms: depth-first search and breadth-first search. Finally, we’ll turn our graph problem into a set of Java classes. Your task on the programming assignment this week will be to do the same thing, but in the context on the map search engine!
Finding shortest paths in weighted graphs
In the past two weeks, you’ve developed a strong understanding of how to design classes to represent a graph and how to use a graph to represent a map. In this week, you’ll add a key feature of map data to our graph representation — distances — by adding weights to your edges to produce a “weighted graph”. Although this might seem like a small change, the algorithms that work for unweighted graphs may prove ineffective for weighted graphs. To address this problem, you’ll explore more advanced shortest path algorithms. First, you’ll see how to find the shortest path on a weighted graph, then you’ll see how to find it more quickly. In the project, you’ll apply these ideas to create the core of any good mapping application: finding the shortest route from one location to another.





This is one of the best series of courses I came along in online MOOC platform, such a brilliant course, this whole specialization is brilliant, such a interesting projects, I’m disappointed that I live in country that isn’t that much wealthy to help this Specialization and to be able to do Capstone Project , but I wish all the best hope to finish all in time, this is in my top 3 online MOOC Courses and I saw a lot of them.
I wish all the best to this team and people that made this possible.
I would definitely recommend this course to anyone who wants to learn about graphs and other advanced data structures.
The course is really well planed and has an incredible starter code to work on.
I would like to address one thing mentioned in some reviews: since the authors were focused on creating the best possible resources for the main topic of the course (and they did it remarkably well), some other data structures used in graphs (such as HashSet and PriorityQueues) seemed poorly covered, and hence it seemed there is a lack of resources for the course. But in my opinion, this was not a big issue, anyone interested could have found a bunch of free online resources. It is unrealistic to expect that the course should cover all the accompanying topics, they are just too broad. The course covers exactly what is described in its description.
The only remark I have is the lack of programming assignments in the fourth week. But I am sure this can and will be easily fixed in some of the future course offerings.
To conclude, based only on the knowledge I had before the course, and the knowledge I have now, this course deserves nothing less than a 5-star rating.
As 2 previous courses of this specialization – the authors did a great job! I really enjoy it and learn a lot of things. The workload is perfect: not too much, so you can get things done on time, but still pretty informative and intense. The way the material is presented is beyond all expectations. I really recommend this specialization to anybody looking for a good course of algorithms in Java.
I’m graduated in System Analysis, not Computer Sciences, and learned to program only by experience. After 20 years it’s a good deal but still I missed the theoretical background and this always annoyed me. I knew and used to make good use of all the structures presented in this course but never could quite explain how or why, or talk in asymptotic notations. Now I can. I didn’t stop here, I do take some topics to deep dive during the lectures. It’s being a great experience and I only wish I could have more time to keep myself always enrolled in some course.
Very informative and learning experience. This is first time I have attended any online course. This course and coaches in the course explained things so nicely that I felt it like sitting in a class room. Entire team deserves a “BIG” applaud for conducting such a nice session.
Course content was nicely designed and brilliantly explained. Its really worth appearing in this course.
Thank you UC, San Diego !!!
I really like the way that the professors explain everything. I also like the project which helps me understand and memorize the algorithms by fitting them into real world problem, that I learned Dijkstra algorithm multiple times but this is the first time I feel like understanding it thoroughly and will keep it in my mind.
Very good series for learning Java and OO Principles. The big
application approach is very interesting as we can see the whole
picture even when we know little yet. The interviews with software engineers are very enlightening.
This particular installment has the animation of the shortest path algorithm on the map and that’s very helpful to fully understand the amount of work and the effects of optimizations in different shortest path approaches.
Another course handled excellently in the series. All the lectures and topics were really effective in introducing weighty concepts, but making it much easier to work with them through clear explanations. Super knowledgeable instructers, assignments and quizzes helped contribute to some solid learning through the course. The course was put together really well, thanks!
UCSD always bring there A game, with fun projects and extensions to real world problems. I have completed all three courses.
This course was especially informative as it dipped into the graph theory and the optimization problems we face.
The course itself is fun and informative and may seem tough at times but is really rewarding once complete. Thanks guys and girls.
I thought the course was an outstanding treatment of data structures and algorithms. The instructors advance to more complex structures and algorithms as the student progresses. I never felt overwhelmed at any stage, and by the end of the course, I was impressed with how much new material we had covered.
Fantastic course! I would recommend to anyone interested in learning the graph data structure in a fun and hands-on and engaging way! Definitely one of the best courses I have followed on Coursera.
Excellent course. I have a 32 year old CS degree and needed a Java Course which did not cover the basics of programming but rather covered advanced CS topics in a Java Context. This is the course.
Very good course. The professors are really interesting and fun to watch. I really like the project oriented approach they take. Something that I would like to see in the future: It would be nice if they could explain the technologies they used for making the project interface a little bit more, as a guide for further study.
This course is fine until the end assignment. Not enough algorithms are covered to support additional methods on graphs. The end of course simply felt rushed leaving the feeling topics were skipped (which they were compared to other courses out there).
Great into to Java, instructors have clearly put thought in to the format with the choose your own learning style videos, and additional coverage where it may be needed. These have been very helpful.
Very interesting course. Inspiring lecturers. Nice challenges too, you really get into coding. It would even be better if students were invited too actually upload their week 6 assignment. I would love to share it and view other students submissions. But I had a really good time and would definitely recommend the course.
I have an enriching experience that I have been through these days during the course. I am elated that I found some well explained concepts along with solid implementation scenario in each week. I have got to work on intense cool projects . Assignments were as per to the real life scenario with concrete match up. I am overly elated to be a student of this valuable praiseworthy course. Thanks again for framing such an incredible course.
Best Regards,
Abhishek Kumar Mandal
(https://abhishek-abhi.github.io/)
It’s a very enjoyable course, very well delivered, loved it. Highly recommended for anyone interested in Computer Science.
Christine’s lectures are the best. Mia’s video lectures are also fine. Leo’s video lectures don’t come out too well as he doesn’t look very comfortable doing video lectures!!
One suggestion – You can compress this to 5 weeks from 6 weeks, or include more material.
All together, excellent course.
As I keep completing the assignment, I got more confident on my Java and debugging skills. I would recommend solidifying your undestanding of the Data Structures
good course with requisite theory,proper guidance and application based problems
It was really a very good course. Earlier I was not able to understand how to implement various algorithms on my own but this course helped me to build my own logic from scratch. It’s real time application of the data structures in maps was really amazing which helped me to understand real world application of data structures. The instructors explained each concept very well and overall it is worth doing this course if you want to gain in depth knowledge of graph data structure.
The course is execelent, really enjoy it, long time ago in the University did these algorithms, but never use them again, now the are everywhere, 100% recomend this course
The Peer-Review Part is so annoying. Others are excellent to learn. This course mainly focus on graph.Breadth-First Search, Dijkstra and A* search algorithms, Hamiltonian graph and Eulerian graph and son on.
I left the course because arriving at week 3, I realized that no-one is helping anymore when someone is stuck, especially not mentors. The forum is full with requests for review, and helpful content is rare.
Great course! I’ve learned a lot and my knowledge of Data Structures and Algorithms has been strengthened a lot after completing this course. The instructors are so energetic and they communicate effectively. However, one thing that I am not quite satisfied is that the starter code is way too outdated, so I cannot get the Google Map part of the course project to show up, which is a problem encountered by lots of other learners. Fortunately, that issue does not make it impossible for learners to complete all the coding assignments.