Introduction to Data Structures & Algorithms in Java
- 5 hours on-demand video
- 11 articles
- 26 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Be able to know and implement various data structures and algorithms
- Be able to write your own algorithms and understand if their running time is good or bad
One of the problems that people face in writing algorithms is how to translate their thoughts into a programming language. Many people cannot even start writing the very first statement of an algorithm. I suggest that if you are having such trouble, don't try to solve the whole problem together, rather break it down into smaller, easier parts. For e.g. try doing the following in writing code for the selection sort algorithm -
- First try to write a method, which just finds the minimum number in the data array. Don't think about anything else, just that method. If you write it in a different method, then you may need to pass the data array as a parameter to that method. Return the index of that minimum element from this method.
- Now change the method to find the minimum number STARTING FROM A PARTICULAR INDEX. So you will need to pass this index as a parameter.
- Write another method which can swap items in an array, located at two different indexes. What parameters should be passed to this method?
Hopefully, by this time you will have enough clarity on completing the sorting algorithm, if you understood the pseudo code.
- Although any programming language may be used by the student, we use the java programming language to implement algorithms.
This course introduces some basic data structures (arrays, linked lists, stacks, queues, trees and heaps) and algorithms (various sorting algorithms, and algorithms for operations on binary search trees and heaps). We will also cover recursion in this course. Use of graphics and animations makes the lectures very easy to understand and digest. After taking this course, you will loose your fear for data structures and algorithms.
- Anyone who wants to learn data structures and algorithms (introductory)
- Anyone appearing for interviews, can be used to understand from grounds up, or as a quick revision