Best of AlgorithmsJanuary 2025

  1. 1
    Article
    Avatar of bytebytegoByteByteGo·1y

    EP144: The 9 Algorithms That Dominate Our World

    Explore the 9 algorithms that dominate our world, understand the role of an API gateway in system design, learn how gRPC works, and compare Docker with Kubernetes for managing containerized applications. Also, review various API architecture styles and get insights into CI/CD pipeline and different app architecture patterns.

  2. 2
    Video
    Avatar of youtubeYouTube·1y

    How to Start LeetCode from ZERO in 2025

    LeetCode remains essential for coding interviews at major tech companies like Amazon, Google, and Microsoft. To start effectively, focus on understanding basic data structures and algorithms, and practice solving problems consistently. Start with easy problems and gradually tackle medium-level ones. Utilize available resources, avoid rushing through problems, and learn from each solution. Consistent practice and revisiting old problems help retain knowledge and improve problem-solving skills.

  3. 3
    Article
    Avatar of communityCommunity Picks·1y

    Computer Science for Frontend Developers

    Discusses the importance of computer science fundamentals for frontend developers, debating whether knowledge of data structures and algorithms is necessary. Provides a nuanced perspective, suggesting developers understand basic concepts to optimize performance when needed, especially with graphics or animations. The post also includes a simple roadmap for learning key concepts and recommends resources for further education.

  4. 4
    Article
    Avatar of collectionsCollections·1y

    Essential Guide to Mastering Data Structures and Algorithms in 2025: Top Resources and Roadmap

    Mastering data structures and algorithms (DSA) is essential for excelling in technical interviews and solving complex coding problems. This guide outlines a comprehensive roadmap, including learning phases from programming basics to core data structures and algorithms. It also recommends top resources such as books, online courses, and practice platforms to help developers systematically build their DSA knowledge and skills.

  5. 5
    Article
    Avatar of francofernandoThe Polymathic Engineer·1y

    Advent Of Code

    Participating in Advent Of Code challenges can significantly improve problem-solving skills and coding efficiency. The event offers unique programming puzzles that get more challenging over time. Key strategies include creating a starting template, using example data to guide solutions, and breaking down complex problems. Understanding essential algorithms and data structures, especially those related to graphs, is crucial. Taking breaks and creating additional test cases can help when stuck. Overall, engaging in these challenges fosters community interaction and continuous learning.

  6. 6
    Article
    Avatar of sitepointSitePoint·1y

    Learn Data Structures and Algorithms: Complete Tutorial

    Data Structures and Algorithms (DSA) are essential for efficient programming and form the backbone of modern computer science. Mastering both linear and non-linear data structures enables developers to handle diverse scenarios effectively. Techniques such as divide-and-conquer, dynamic programming, and greedy algorithms are crucial for solving complex problems efficiently. Understanding DSA is vital for building scalable applications and excelling in technical interviews. The post also discusses the latest trends like quantum algorithms, AI-driven data structures, and blockchain optimizations.

  7. 7
    Article
    Avatar of towardsdevTowards Dev·1y

    Algorithms in Python

    Algorithms are step-by-step instructions to solve problems, categorized by purpose such as sorting, searching, and graph traversal. Python is ideal for implementing these algorithms, with examples like merge sort for sorting, binary search for searching, and Dijkstra's algorithm for finding the shortest paths in graphs. Essential algorithm characteristics include definiteness, input, output, finiteness, and effectiveness.

  8. 8
    Article
    Avatar of hnHacker News·1y

    Static search trees: 40x faster than binary search

    The post introduces and optimizes a static search tree (S+ tree) to enhance the high-throughput searching of sorted data. The implementation involves various strategies such as batching, prefetching, and optimized tree layouts. The optimization techniques include auto-vectorization, manual SIMD, and using hugepages for better memory management. The post provides significant speedup (over 40x) compared to traditional binary search by reducing the number of memory access and improving CPU efficiency.

  9. 9
    Article
    Avatar of tigerabrodiTiger's Place·1y

    DFS and BFS explained

    The post explains Depth First Search (DFS) and Breadth First Search (BFS) algorithms, including code examples for tree traversal. DFS explores as deep as possible along a branch before backtracking, while BFS examines nodes level by level using a queue. The importance of base cases in recursion for DFS is highlighted to avoid stack overflow errors. BFS examples demonstrate level order traversal and grouping of nodes.

  10. 10
    Article
    Avatar of aiAI·1y

    ML Algorithms From Scratch

    Comprehensive implementations of machine learning algorithms from scratch using NumPy and with popular libraries like scikit-learn. Detailed explanations cover mathematical concepts and practical examples to help understand the inner workings of these algorithms.

  11. 11
    Video
    Avatar of primeagenThePrimeTime·1y

    40x Faster Binary Search

    The post discusses implementing an S+ tree to improve binary search speed. It explores optimizing code to enhance performance, leveraging techniques such as SIMD (Single Instruction, Multiple Data) instructions and batching queries. The focus is on achieving high throughput and optimizing memory usage, highlighting how various strategies can significantly speed up search operations.

  12. 12
    Article
    Avatar of hnHacker News·1y

    The 7 Most Influential Papers in Computer Science History

    A subjective list of seven influential papers in computer science history, focusing on their lasting impact. These range from Turing's foundational work on computability to Shannon's information theory, Codd’s relational databases, Cook’s NP-completeness, Cerf and Kahn's creation of TCP/IP, Berners-Lee’s World Wide Web proposal, and Brin and Page's PageRank. Each concept continues to underpin countless technologies and applications today.

  13. 13
    Article
    Avatar of lpythonLearn Python·1y

    After a long time 😅😅