sidhant kumarsidhantjaiswalsj-datastructures.hashnode.dev·Feb 9, 2025Cycle Sort Technique: Improve Your Sorting Skillscycle sort Algorithm It works by swapping the value of element by comparing with the index position Even wondered why Cycle sort and When to use it ? Note→ if u have to sort numbers staring from 1 to n just use cycle sort Cycle Sort - Time and Space...10 likesData-Structurescycle-sort
Nwosu Promise Okennaokenna.hashnode.dev·Feb 8, 2025ALGORITHMS: Introduction to Algorithm AnalysisIntroduction Algorithms are the step-by-step instructions to solve problems or execute specific tasks efficiently. They are the foundation of countless applications, from searching through user data and sorting user data to finding the optimal routes...Data Structures And AlgorithmsDSA
Nwosu Promise Okennaokenna.hashnode.dev·Feb 1, 2025ALGORITHMS: Implementing Quick Sort Algorithm in JavascriptIntroduction Sorting algorithms are foundational in computer science. Sorting enables efficient data organization and retrieval. Quick sort is known for being efficient and is largely used due to its ability to handle large datasets effectively. Quic...1 likeData Structures And AlgorithmsDSA
Nwosu Promise Okennaokenna.hashnode.dev·Jan 25, 2025ALGORITHMS: Understanding Divide and Conquer TechniqueIntroduction Divide and conquer is a well-known recursion technique for solving problems. It solves a problem by breaking it into smaller, easier-to-solve problems, solving each problem separately and combining their solutions to address the original...Data Structures And Algorithmsdata structures
Nwosu Promise Okennaokenna.hashnode.dev·Jan 18, 2025ALGORITHMS: Understanding Recursion And Its RisksIntroduction Imagine John Doe, our building’s maintenance worker, gets a call about a call about a blinking light somewhere in our massive 10-story building. Suppose he does not get the floor number or the room number where this issue is happening - ...29 readsData Structures And AlgorithmsRecursion
Nwosu Promise Okennaokenna.hashnode.dev·Jan 11, 2025ALGORITHMS: Implementing Selection Sort Algorithm In JavaScriptIntroduction Suppose you are organizing a deck of cards, and you want to sort it from the smallest to the largest. Naturally, you might look through the cards, find the smallest one, and place it first. Then you would look for the next smallest, and ...15 likesData Structures And AlgorithmsJavaScript
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Manacher’s Algorithm for Finding Palindromic SubstringsIntroduction Palindrome detection is a classic problem in computer science, where the goal is to identify the longest palindromic substring within a given string. A palindrome is a sequence of characters that reads the same forward and backward, such...10 likesPalindromeDetection
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Understanding KMP Algorithm for String MatchingIntroduction String matching is a fundamental problem in computer science, where the goal is to find occurrences of a substring (pattern) within a larger string (text). This problem arises in many applications, including text editors, search engines,...10 likesTextSearch
Nwosu Promise Okennaokenna.hashnode.dev·Jan 4, 2025ALGORITHMS: Implementing Binary Search Algorithm in JavascriptIntroduction Imagine searching for a word in a dictionary. Would you flip through every single page? Or would you use a smarter approach, like opening to the middle to quickly narrow down where that word might be? This is the elegant power of binary ...13 likes·99 readsData Structures And AlgorithmsJavaScript
Kim Minseopiggyfarm.hashnode.dev·Dec 30, 2024최대 공약수 구하기최대 공약수를 구하는 코드 int gcd(int a, int b){ if(b == 0) return a; return gcd(b, a % b); } 활용 문제 프로그래머스 - 숫자 카드 나누기ALGORITHMC++