The author dives into a more specific example as to when to use algorithms. He cites examples such as compressing data, sorting, and generating random numbers. He then points out what the similarity between these, which is they’re usually come built in a framework. He then makes a case for times you need to customize algorithms, hence the reason you’d want to understand how they work.
- [Instructor] So, when would we want to use algorithms?…This is a big question…because algorithms can be used in almost…all aspects of programming.…So there are literally probably thousands…of reasons that I could…list here.…But I'm going to go ahead and just…jot down three here.…Compressing data.…Sorting.…And generating random numbers.…These are three different areas in which…algorithms are used.…Now, when you look at this list do you see anything common…among them?…These are such common functionalities.…
Compressing data.…Sorting, and generating random numbers.…We already have libraries for them…in dot net.…So, a new program, or even just a senior one…that needs the compressed data will most likely…never need to write something to compress data themselves.…The same goes for sorting.…And also generating random numbers.…But here's the thing.…What happens when you need to perform some type of sorting…that the framework that you're working with…doesn't allow you to do.…
I mean, it might sort data but you might need some…
- Working with linked lists
- Creating a stack
- Defining a queue
- Performing a binary search
- Finding target values with a linear search
Skill Level Beginner
1. Algorithms and Data Structure Overview
Reasons for this course1m 26s
2. Linked List
5. Binary Search
6. Linear Search
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.