Varun Joshiblog.varunjoshi.co.in·Jan 16, 2025Binary Array SegregationIn this blog, we’ll explore a JavaScript function that manipulates an array using the two-pointer technique. The function, named twoSum, is designed to reorder elements in an array based on specific conditions. Let’s dive into its implementation, fun...Programming Blogs
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Binary Indexed Tree (BIT): A Tool for Efficient QueriesIntroduction In the world of data structures, efficient query handling is crucial for solving a variety of computational problems. The Binary Indexed Tree (BIT), also known as the Fenwick Tree, is a powerful data structure that enables efficient hand...10 likesAlgorithmOptimization
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Centroid Decomposition for Tree Algorithms: A Comprehensive GuideIntroduction In the realm of algorithm design, tree algorithms are among the most fundamental and widely used techniques. Trees, being hierarchical data structures, appear in a variety of real-world problems, from computer networks and database index...10 likesCentroidDecomposition
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Heavy Light Decomposition: An Advanced Graph AlgorithmIntroduction Graph algorithms are the backbone of many computational problems, from network routing to social network analysis. Among the various graph algorithms, Heavy Light Decomposition (HLD) stands out as an advanced technique used to optimize c...10 likesHeavyLightDecomposition
Dipak Malimalidipak.hashnode.dev·Jan 6, 2025Play with Arrays - Part 1Arrays are most fundamental data structures in programming. Arrays are the contiguous memory blocks containing data of similar type. In this blog, we will dive straight into array searching algorithms: Linear Search and Binary Search. We will also se...1 like·47 readsarray
Dhanish ShettyforCOPS IIT BHUblogs.copsiitbhu.co.in·Dec 19, 2024Understanding Euler's Totient Function: A Key Tool in Number TheoryEuler’s Totient Function often symbolised as ϕ(n), is one of the most important and fascinating functions in number theory. Named after the mathematician Leonhard Euler, it counts the number of integers upto a given integer n that are coprime to n. T...40 likes·191 readsProgramming Blogs
Soumyajit Karmakarsoumyajit-blog.hashnode.dev·Dec 9, 2024CP-DSA ResourcesPrerequisite Learn a Language. Language preference order → C++ > Java > Python. Language does not matter much; you can choose your language based on your interests and prior experience. If you are entirely new, then go with C++. C++ Resources C++ ...Competitive programming
Replreplag.hashnode.dev·Dec 1, 2024Understanding the Basics of Competitive ProgrammingHi guys, this is my first blog where I will talk about competitive programming. The reason I'm writing about competitive programming is to ensure I understand it too (lol). So, my initial thoughts on competitive programming is a mental sport that inv...10 likesProgramming & Math with the Feynman MethodCompetitive programming
Mohammed Anwarmohammedanwar.hashnode.dev·Nov 30, 2024Time Complexity: Beyond Interview QuestionsDuring technical interviews, many developers first encounter Big O notation and time complexity analysis. This often leads to the misconception that these concepts are merely academic exercises. However, understanding time complexity is crucial for b...1 like·30 readsGeneral Programming
Ilija BoshkovforBase42blog.42.mk·Nov 29, 2024Announcing Base42 Advent of Code 2024We’re excited to start the Base42 Advent of Code 2024 Competition, a unique event that combines programming challenges, friendly competition, and charitable giving. This year, Base42 is not only bringing you the thrill of solving coding puzzles but a...Base42