Course Overview
Why learn about data structures and algorithms?
Algorithms and data structures constitute the fundamentals of programming.
Good understanding of algorithms and data structures is one of the most important requirements for a great number of work positions. You'll have to solve many problems related to algorithms and data structures at coding interviews. Indeed, you can live without an understanding of algorithms and data structures, in general. However, you can do that until you face a real problem which requires to choose right data structures and implement custom algorithms. If you haven't ever faced such problems, believe me, this is just a matter of time. One day, you'll face such a problem and if you don't understand algorithms and data structures in depth, you'll feel yourself ashamed and helpless. You'll be stuck.
If you're not good at algorithms and data structures, you'll never pass a coding interview in a decent company. Almost all the companies prefer to hire those developers who have good understanding of algorithms and data structures, remember that. Do not delay the study of fundamental concepts.
Better hardware is not a solution for all the performance-related problems. Sometimes, you need to write software for very slow devices. And that very often depends on the budget of a customer, by the way, so you don't have a control over it.
You'd better to understand what's going on under the hood at least one level in-depth. Indeed, if you don't understand how List works, sometimes you'll make sub-optimal or completely wrong decisions.
Why this course?
You may ask me "why should I take exactly your course?" And here is my answer:
This course is a comprehensive tutorial which covers a great number of topics
I tried to do my best to make this course not dry
This course concentrates not only at algorithms and data structures in general but it uncovers the internals of data structures and algorithms built-in .NET BCL (.NET Core's BCL is the same regarding fundamental data structures and algorithms)
This course is practical with exercises and solutions
This course will definitely help you to pass technical interviews
This course is made by a professional software developer with more than 10 years of real-world experience
and many other reasons :)
What's in the Course?
For now, the course covers:
Introduction to Algorithms and Data Structures: what is a data structure, abstract data type and what's the difference between these notions. What is an algorithm and why they are important to us?
Introduction to Algorithm Analysis: determine how long will a program work, build a log-log plot, approximations, order of growth (Big-O notation), memory consumption
Arrays: arrays in C#, arrays in memory, time complexity of operations on arrays
Sort Algorithms: bubble sort, selection sort, insertion sort, recursion, shell sort, merge sort, quick sort, stability of sort algorithms
Lists: List built-in .NET BCL, nodes, linked list including singly and doubly linked lists, linked list built-in .NET
Stacks: theory and practice; stack based on array, stack based on a linked list, stack built-in .NET
Queues: theory and practice; queue based on array, circular queue, queue based on linked list, queue built-in .NET BCL
Search Algorithms: linear search, binary search (more will be added in the future)
Symbol Tables: intro, API, sequential search-based, binary search-based
Hash Tables: intro, hash functions, GetHashCode, approaches to collisions resolving: separate chaining and linear probing, Dictionary built-in BCL, Sets in BCL
Trees: binary search tree (BST), implementing BST (more will be added in the future)
Heaps: intro, heaps and arrays, implementation, Heap Sort (more will be added in the future, specifically about Priority Queues)
Immutable Collections: immutability and memory pressure, immutable stacks and queues, immutable list, immutable sets, immutable dictionaries, builders in immutable collections
Different Algorithms. This section will include different algorithms as you might guess. For now it convers the Sieve of Eratosthenes.
Take this course now and you'll be satisfied! Don't forget that Udemy provides 30-day money back refund policy, so if you don't like the course, you just click on a couple of buttons and get your money back!
FAQ
FAQ area empty
Course curriculum
Chương 1 Materials 2 bài
Chương 2 Introduction to Algorithms and Data Structures 4 bài · 10 phút
- Intro to Data Structures Học thử 5:43
-
Intro to Algorithms 4:03
- Recap Học thử
- Intro Quiz Học thử
Chương 3 Introduction to Algorithm Analysis 9 bài · 32 phút
- Time Complexity Học thử 16:06
-
Time Complexity Recap
-
Building a Log-Log Plot. Predicting the Running Time. 5:23
- Building a Log-Log Plot. Predicting the Running Time. Recap Học thử
-
Approximations 5:40
-
Approximations. Recap
-
Order of Growth 5:01
-
Order of Growth. Recap
-
Algorithms Analysis Quiz
Chương 4 Arrays 7 bài · 46 phút
-
Quick Overview of Arrays Built-In C# 20:02
-
Arrays in C#. Recap
-
Arrays in Memory 9:21
-
Arrays in Memory. Recap
-
Time Complexity of Operations on Array 16:18
-
Operations on Array. Recap
-
Arrays Quiz
Chương 5 Sorting Algorithms 28 bài · 1 giờ 59 phút
-
Bubble Sort (Theory) 6:21
-
Bubble Sort (Implementation) 14:03
-
Bubble Sort - Decreasing Order
-
Stability of Sort Algorithms 5:34
-
Selection Sort (Theory) 4:03
-
Selection Sort (Implementation) 5:24
-
Selecting TOP-K
-
Recap: Bubble and Selection Sorts
-
Insertion Sort (Theory) 6:21
-
Insertion Sort (Implementation) 5:46
-
Sorting Only Nearly Sorted
-
Recap: Insertion Sort
-
Recursion 14:32
-
Recursive Array Sum
-
Recursive IsSorted
-
Shell Sort (Theory) 12:23
-
Shell Sort (Implementation) 8:35
-
Determining h-sorted arrays
-
Recap: Shell Sort
-
Merge Sort (Theory) 7:43
-
Merge Sort (Implementation) 12:27
-
Fixing Unstable Merge Sort
-
Merge Left Only - Optimization
-
Recap: Merge Sort
-
Quick Sort (Theory) 8:07
-
Quick Sort (Implementation) 7:39
-
Quick Sort Optimizations
-
Quick Sort Quiz
Chương 6 Lists 8 bài · 1 giờ 22 phút
-
List Built-In BCL 22:56
-
Node as a Basic Building Block 7:43
-
Linked Lists 1:09
-
Singly-Linked List (Theory) 4:29
-
Singly-Linked List (Implementation) 24:11
-
Doubly-Linked List (Theory) 2:02
-
Doubly-Linked List (Implementation) 13:43
-
LinkedList Built-In BCL 5:39
Chương 7 Stacks 4 bài · 32 phút
-
Stacks (Theory) 4:46
-
Stack Implementation (Array) 16:06
-
Stack Implementation (LinkedList) 7:17
-
Stack Built-In .NET & General Characteristics 3:26
Chương 8 Queues 6 bài · 47 phút
-
Queue (Theory) 6:11
-
Queue Implementation (Array) 11:37
-
Circular Queue (Theory) 2:07
-
Circular Queue (Implementation) 15:32
-
Queue Implementation (LinkedList) 5:51
-
Queue Built-In .NET BCL 5:30
Chương 9 Search Algorithms 3 bài · 34 phút
-
Linear Search 19:29
-
Binary Search (Theory) 3:03
-
Binary Search (Implementation) 11:30
Chương 10 Symbol Tables 9 bài · 1 giờ 10 phút
-
Introduction to Symbol Tables 2:37
-
API of Symbol Tables 6:31
-
Sequential Search (Trivial Approach) 12:35
-
Sequential Search: Homework 0:53
-
Sequential Search: Solution for Homework 6:12
-
Binary Search-based Symbol Table 26:10
-
Binary Search-based Symbol Table: Homework 2:39
-
Binary Search-based Symbol Table: Solution for Homework 11:26
-
Conclusion 1:11
Chương 11 Symbol Tables and Hashing (Hash Tables) 11 bài · 2 giờ 8 phút
-
Introduction to Hash Tables 4:53
-
Hashing in Primitives and GetHashCode 9:53
-
GetHashCode in Value Types and Reference Types 6:50
-
Importance of Hash Codes. Implementing GetHashCode 28:25
-
Resolving Collisions 4:56
-
Separate Chaining 20:39
-
Separate Chaining: Homework 2:00
-
Separate Chaining: Solution for Homework 16:24
-
Linear Probing 22:02
-
Built-In Dictionaries 4:37
-
Sets and Built-In Sets 7:31
Chương 12 Trees 5 bài · 51 phút
-
Introduction to Trees 4:21
-
Binary Search Tree (BST) 6:32
-
Simple BST Implementation 25:43
-
Removal in BST: Theory 5:29
-
Removal in BST: Implementation 9:21
Chương 13 Heaps and Heap Sort 10 bài · 58 phút
-
Heap Definition 3:54
-
Heaps and Arrays 3:31
-
Insertion: Theory 2:17
-
Insertion: Implementation 15:40
-
Remove: Theory 3:18
-
Implementing Peek and Remove 18:13
-
Performance of Operations in a Heap 1:11
-
Heap Sort: Theory 5:12
-
Heap Sort: Implementation 4:58
-
Priority Queue: to be continued...
Chương 14 Different Algorithms 2 bài · 10 phút
-
Sieve of Eratosthenes 10:11
-
To be continued...
Chương 15 Immutable and Concurrent Collections 12 bài · 1 giờ 1 phút
-
Outline 1:32
-
Introduction 4:37
-
Immutability and Memory Pressure 6:36
-
Immutable Stack and Queue 9:24
-
Immutable List 4:35
-
Immutable Sets 5:23
-
Immutable Dictionaries 4:28
-
Builders in Immutable Collections 4:13
-
Concurrent Queue and Concurrent Stack 5:49
-
Concurrent Bag 4:08
-
Concurrent Dictionary 7:49
-
Conclusion 2:01
Chương 16 Memory and Processors 18 bài · 2 giờ 22 phút
-
Module Intro 5:39
-
Moor's Law and Dennard's Scaling 8:40
-
CPU Bitness and Memory 5:31
-
CPU Architecures 7:53
-
Machine Word 5:45
-
Memory Hierarchy 18:37
-
Modern CPU Optimizations 11:35
-
Alignment in .NET Structures 9:42
-
BenchmarkDotNet Framework 1:53
-
Reducing Memory Footprint by Fields Reordering 6:41
-
Branch Prediction 5:50
-
Spatial Locality 5:05
-
Using SIMD 4:28
-
Alignment in Structures and Performance 10:41
-
False Sharing 7:22
-
Memory Management and OS 7:32
-
Ruining TLB 11:58
-
Module Summary 6:57
Chương 17 Appendix. Intro to Unit Testing 13 bài · 45 phút
-
Source Code for Unit Testing Appendix
-
Outline 0:58
-
What is a Unit Test 3:09
-
Unit Testing Frameworks 3:22
-
Your First Unit Test 8:49
-
Naming Conventions 4:34
-
Running & Debugging Unit Tests 5:02
-
Benefits of Unit Testing 3:35
-
Who Should Write Unit Tests and When 2:51
-
Programmer's Oath 3:17
-
Exercise: Degree Converter 1:29
-
Solution: Degree Converter 6:54
-
Conclusion 1:15
Chương 18 Appendix. NUnit - Unit Testing Framework 17 bài · 1 giờ 4 phút
-
Outline 1:01
-
Assert Intro 5:29
-
Assert Demo 10:27
-
Arrange-Act-Assert 0:58
-
Running Tests from Console 1:51
-
SetUp and TearDown 5:09
-
OneTimeSetUp and OneTimeTearDown 2:13
-
Parameterized Unit Tests 3:40
-
Grouping and Ignoring Unit Tests 2:14
-
Code Coverage 1:42
-
Exercise: FizzBuzz 1:07
-
Solution: FizzBuzz 5:05
-
Exercise: Parsing Roman Numerals 2:27
-
Solution: Parsing Roman Numerals 9:27
-
Exercise: Stack 0:59
-
Solution: Stack 9:02
-
Conclusion 1:25
Chương 19 Appendix. Intro to TDD 12 bài · 51 phút
-
Source Code - TDD
-
Outline 1:06
-
Why We Need TDD 16:18
-
What is TDD 5:00
-
Red/Green/Refactor 4:16
-
Three Laws of TDD 1:42
-
Changing Requirements and the Safety Net 5:23
-
F.I.R.S.T. 2:48
-
Different Types of Tests 4:04
-
Testing Frameworks and Tools 5:06
-
When TDD Fails 2:46
-
Conclusion 2:02
Requirment
-
Some experience in C# or Java
-
Tooling: a free version of Visual Studio (Community Edition)
Outcomes
-
Implement all the common data structures such as List, Stack, Queue and others understanding how they work under the covers
-
Use available data structures built-in .NET correctly: choose right data structures, understanding how they work under the covers
-
Pass coding interviews where interviewers torture you by asking to implement different algorithms and data structures
-
Solve custom problems related to algorithms and data structures, so you'll be able to combine data structures and re-implement algorithms suiting them for concrete cases
-
Implement Binary Search Tree
-
Understand and Apply Hash Tables
-
Understand and Apply Symbol Tables
-
Understand and Apply Heaps
0 Student
1 Course
0 review