25 algorithms every programmer should know:
Let's start with my top favorite 10. If nothing else, you should read about these algorithms and have a good idea of how they work:
1. Linear search to find an element in a list
2. Binary search to find an element on a sorted list
3. Bubble sort to sort a list
4. Merge sort will also sort lists
5. Quicksort to sort the list and do it fast
6. Dijkstra to find the shortest path in a graph
7. Breadth-first Search (BFS) for trees or graphs
8. Depth-first search (DFS) for trees or graphs
9. Huffman for doing data compression
10. Anything related to dynamic programming
Learning about algorithms is like getting tattoos: you never have enough. Here are another 5 algorithms that will help you go beyond the basics:
11. Kruskal for the finding minimum spanning tree
12. Floyd Warshall, shortest paths in a graph
13. Union Find to detect cycles in a graph
14. Bellman-Ford, shortest path in a graph
15. Lee for finding the shortest path in a maze
If you are serious about this topic, I recommend learning about algorithms' space and time complexity. People usually refer to this topic as "Big O" notation. You should build a good intuition about the performance of different algorithms and learn how to evaluate them.
Machine Learning will rule the next 50 years, so the next 10 algorithms you can't ignore are the following:
16. Linear Regression
17. Logistic Regression
18. Decision Trees
19. Bayes' theorem
20. k-Nearest Neighbors (kNN)
21. Every algorithm related to neural networks
22. K-means
23. Random forest
24. Gradient boosting algorithms
25. Any dimensionality reduction algorithm (PCA, for instance)
There are many more mind-blowing algorithms! I haven't found a better way to understand how computers work from a first-principles point of view than reading about different algorithms.
Take a look at the attached video.
Computing devices are not just for consumption, they are built for creation. With the power of technology at our fingertips, we have the ability to create and innovate like never before. Let's use these tools to unleash our creativity and build a better w…https://t.co/AwUtnu8WnG
👉 দিন শেষে ডাটাবেজ আর সার্ভারের উপরে Application এর গতি নির্ভর করে, এটাই সায়েন্স। ডাটাবেজ+সার্ভার ফাস্ট তো সব ফাস্ট, ইহা স্লো তো সব স্লো হয়ে যাবে। https://t.co/xCmdvToadP