KIMATHI VICTORvictormkimathi.hashnode.dev·Jun 19, 2024Understanding RecursionDefinition Recursion involves breaking down a complex problem into smaller, more manageable instances of the same problem until a base case is reached, allowing for a solution to be derived. Key Terms Base Case: Represents the scenario where the fun...Discussalgorithm

Sumukh M Gsumukhmg.hashnode.dev·Jun 12, 2024Top 10 Resources for Data Structures and AlgorithmsHere are the list of top 10 resources for DSA 1. Hackerrank(Beginner-friendly)2. HackerEarth(Intermediate)3. Leetcode(Interview-focussed)4. GeeksforGeeks(All Levels)5. Codeforces/Codechef(Best for Competitive Programming)6. Love Babbar’s 450 Question...Discuss·1 likedata structures

Gift Ayodeledevgifttemitope.hashnode.dev·Jun 5, 2024Space and Time ComplexityIntroduction Space and time complexity define the effectiveness of an algorithm. While there are multiple ways to solve a problem in programming, understanding how an algorithm works efficiently can significantly enhance our programming approach. Eva...Discuss·87 readsSpace Complexity

Mahbub Alam Masumblog.masum.dev·Jun 2, 2024Insertion Sort AlgorithmInsertion Sort is a straightforward and efficient comparison-based sorting algorithm. The algorithm works similarly to how you might sort playing cards in your hands. It builds the sorted array one item at a time by taking each element from the unsor...DiscussSorting AlgorithmsDSA

Mahbub Alam Masumblog.masum.dev·Jun 1, 2024Bubble Sort AlgorithmBubble Sort is a simple comparison-based sorting algorithm. It repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The process is repeated until the list is sorted. This algorithm gets its name...DiscussSorting Algorithmsoptimized bubble sort

Mahbub Alam Masumblog.masum.dev·Jun 1, 2024Selection Sort AlgorithmSelection Sort is a simple and intuitive sorting algorithm. It divides the input list into two parts: a sorted sublist of items which is built up from left to right at the front (left) of the list and a sublist of the remaining unsorted items. The al...Discuss·53 readsSorting AlgorithmsDSA

Algonotionalgonotion.com·May 29, 2024What are Linked Lists in JavaScript and how to create them?In JavaScript, adding elements to an array is not efficient, compared to other programming languages such as c/c++. In such cases where operations performed on arrays are too slow for practical use, linked lists may offer a better solution. What are ...DiscussJavaScript

Awadh Kishor Singhawadh.hashnode.dev·May 29, 2024What id Dutch Flag Algorithm ? || What is Dutch National Flag Algorithm ?What is Dutch Flag Algorithm ? The term is most commonly associated with the Dutch National Flag problem, which is a well-known algorithmic problem formulated by computer scientist Edsger W. Dijkstra. The problem involves sorting an array containing ...Discuss·1 like#duchflagalgorithm

Sudoku Moodsudokumood.hashnode.dev·May 28, 2024Fast algorithm to compare Sudoku puzzlesIntro We are the authors of Sudoku Mood. Recently we decided to add a share feature to our website. The idea is to let users send a puzzle they liked to their friends. The share URL contains the puzzle itself as a query parameter. Example: Sudoku lin...Discussalgorithms

FMZ Quantfmzquant.hashnode.dev·May 24, 2024Implementation of Dual Thrust trading algorithm by using Mylanguage on FMZ Quant platform1. Introduction to Dual Trust trading strategy The dual trust trading algorithm is a famous strategy developed by Michael Chalek. It is usually used in futures, foreign exchange and stock markets. The concept of Dual Thrust is similar to a typical br...Discusscode