Sitemap
Barun Halder

Barun Halder

tech afficionado, pseudo-intellectual, beer connoisseur

Base CS and ML/DL

2 min readJan 13, 2019

In this series, I will go over the basic concepts which a software engineer should know to be relevant in the distributed world. Applications are increasingly data hungry and computation hungry. The skills necessary for building these systems are niche. This series aims to make all the necessary information available in easy to consume format.

The topics which we shall focus on will begin with basics of software engineering. This will mainly cover Datastructures and algorithms. Then we will move to Operating Systems, where we will dive into greater depth. Operating system is a good example of a complicated system which is faced with problems any system software would face — distributed or local. We will then touch upon the basics of Networking — without going into depth of the myriad of protocols which exist out there.

After a good base is setup with these, we will learn about the important problems of Distributed Systems and will follow the topics from CMU 15–440 course, because that is the course I have been through. Post that we shall spend some time on SQL, again look at it from a systems perspective, and strive to cover the basics of SQL.

Finally, we shall spend significant time on the target applications — Machine Learning and Deep Learning, and how various models of computation have been devised for them. We will have refresher on mathematics as we deem necessary. This section of the series will equip you with vocabulary and strong basic understanding of Machine Learning and Deep Learning. It will enable you to dig deeper and have useful conversations with subject matter experts.

We will stick with Python as the de-facto language for the series. This enables us to be well prepared for ML/DL tasks which lean heavily on Python. Python also makes for efficient means to express an algorithm or datastructues. It also has a simple unittest framework along with a massive toolset of libraries.

I am a big fan of lists. It ensures that we are exhaustive in out thinking. It also makes a plan more tangible. Here is the laundry list of the topics we will discuss in the series —

Get Barun Halder’s stories in your inbox

Join Medium for free to get updates from this writer.

Data Structures — Ensure we code and know the time complexities for Insert/Delete/Update/Search/Replace operations. We shall think about concurrency issues for all of them. What happens when we have single producer-single consumer, single producers-multiple consumers, multiple producers-single consumers.

  1. Arrays
  2. Stack
  3. Queue
  4. Priority Queue
  5. Linked List
  6. Doubly Linked List
  7. Trees
  8. Binary Search Tree
  9. Complete Tree
  10. Balanced Tree
  11. Trie — Discussion
  12. Red-Black tree — Discussion
  13. Hashtable
  14. Graphs
  15. Heap
  16. Dictionaries and Sets

Search/Sorting — Searching and sorting are complimentary to each other. If we want to spend less time searching, it is better to spend time sorting data before hand. Again the time complexities of each of them, along with

  1. Bubble Sort
  2. Selection Sort
  3. Insertion Sort
  4. Merge Sort — Super important
  5. Quick Sort
  6. Bucket Sort and Radix Sort — a discussion
  7. Topological Sort
  8. Heap Sort

Algorithms — Trees/Graph

  1. BFS
  2. DFS
  3. In-order traversal of BST
  4. In-order traversal of Binary Tree
  5. Common Ancestor
  6. Validate BST
  7. Minimum Spanning Tree
  8. Shortest Path — discussion

--

--

Barun Halder
Barun Halder

Written by Barun Halder

tech afficionado, pseudo-intellectual, beer connoisseur