Search Articles — Sudonull

Search Results

In this project

Binary search trees: O(log n) and cache performance

https://sudonull.com/binary-search-trees-o-log-n-and-cache-performance

Breakdown of real binary search tree (BST) performance in the cache memory context. Why O(log n) is not always fast, comparison with sorted arrays and when to use BST.

Search Algorithms O(log n) vs O(n) in Python

https://sudonull.com/search-algorithms-o-log-n-vs-o-n-in-python

Breakdown of linear, binary, exponential search and hash tables. Code, complexity, selection checklist. For middle/senior developers. Benchmarks and LeetCode examples.

Number search algorithms: from Knuth to MCMC

https://sudonull.com/number-search-algorithms-from-knuth-to-mcmc

Breakdown of number guessing strategies in [1,N]: Knuth's maximin O(N²), random O(log N), Metropolis-Hastings MCMC. Code, analysis, benchmarks. Choose the optimal for your N.

O(1) vs O(log n) Gap: Cache in Data Structures

https://sudonull.com/o-1-vs-o-log-n-gap-cache-in-data-structures

Why hash table O(1) loses to binary search O(log n) by 40%? Analysis of cache misses, array/list benchmarks and memory hierarchy for RISC-V. Learn real performance.

From the web

Binary Search Tree - GeeksforGeeks

https://www.geeksforgeeks.org/dsa/binary-search-tree-data-structure/

Oct 31, 2026 · A Binary Search Tree (BST) is a type of binary tree data structure in which each node contains a unique key and …

Binary search tree - Wikipedia

https://en.wikipedia.org/wiki/Binary_search_tree

Fig. 1: A binary search tree of size 9 and depth 3, with 8 at the root. In computer science, a binary search tree (BST), also called an …

DSA Binary Search Trees - W3Schools

https://www.w3schools.com/dsa/dsa_data_binarysearchtrees.php

A Binary Search Tree is a Binary Tree where every node's left child has a lower value, and every node's right child has a higher …

Binary Search Tree - Programiz

https://www.programiz.com/dsa/binary-search-tree

A binary search tree is a data structure that quickly allows us to maintain a sorted list of numbers. Also, you will find working …

Binary Search Trees -

https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1262/lectures/23-bst/

The bottom line: Binary Search Trees (BSTs) are great for set and map data structures. Binary Search Tree Definition Binary trees …

Binary Search Tree - Online Tutorials Library

https://www.tutorialspoint.com/data_structures_algorithms/binary_search_tree.htm

A Binary Search Tree (BST) is a tree in which all the nodes follow the below-mentioned properties − Thus, BST divides all its sub …

Searching in Binary Search Tree (BST) - GeeksforGeeks

https://www.geeksforgeeks.org/dsa/binary-search-tree-set-1-search-and-insertion/

Oct 17, 2026 · Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners …

DSA Binary Trees - W3Schools

https://www.w3schools.com/dsa/dsa_data_binarytrees.php

Keeping data sorted in a Binary Search Tree (BST) makes searching very efficient. Balancing trees is easier to do with a limited …

Binary Search Trees - Princeton University

https://algs4.cs.princeton.edu/32bst/

Mar 19, 2021 · 3.2 Binary Search Trees We examine a symbol-table implementation that combines the flexibility of insertion in linked …

1 Binary search trees - Stanford University

https://web.stanford.edu/class/archive/cs/cs161/cs161.1168/lecture8.pdf

1 Binary search trees A binary search tree is a data structure composed of nodes. Each node has a key, which determines the node’s …

Trending Now