Models of computation | Comparison sorts | External memory algorithms | Sorting algorithms | Analysis of algorithms

Cache-oblivious distribution sort

The cache-oblivious distribution sort is a comparison-based sorting algorithm. It is similar to quicksort, but it is a cache-oblivious algorithm, designed for a setting where the number of elements to sort is too large to fit in a cache where operations are done. In the external memory model, the number of memory transfers it needs to perform a sort of items on a machine with cache of size and cache lines of length is , under the tall cache assumption that . This number of memory transfers has been shown to be asymptotically optimal for comparison sorts. This distribution sort also achieves the asymptotically optimal runtime complexity of . (Wikipedia).

Video thumbnail

24. Cache-Oblivious Algorithms: Searching & Sorting

MIT 6.046J Design and Analysis of Algorithms, Spring 2015 View the complete course: http://ocw.mit.edu/6-046JS15 Instructor: Erik Demaine In this lecture, Professor Demaine continues with cache-oblivious algorithms, including their applications in searching and sorting. License: Creative

From playlist MIT 6.046J Design and Analysis of Algorithms, Spring 2015

Video thumbnail

Heap Sort Algorithm | Heap Sort In Data Structure | Heap Sort With Example | Simplilearn

This video is based on Heap sort Algorithm. This heap sort in data structures tutorial makes sure that the heap sort algorithm is explained well and will help the beginners understand the basics of heap sort with examples. The video also covers practical demo for a better learning experien

From playlist Data Structures & Algorithms

Video thumbnail

Heap Sort - Intro to Algorithms

This video is part of an online course, Intro to Algorithms. Check out the course here: https://www.udacity.com/course/cs215.

From playlist Introduction to Algorithms

Video thumbnail

23. Cache-Oblivious Algorithms: Medians & Matrices

MIT 6.046J Design and Analysis of Algorithms, Spring 2015 View the complete course: http://ocw.mit.edu/6-046JS15 Instructor: Erik Demaine In this lecture, Professor Demaine introduces cache-oblivious algorithms. License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/te

From playlist MIT 6.046J Design and Analysis of Algorithms, Spring 2015

Video thumbnail

15. Cache-Oblivious Algorithms

MIT 6.172 Performance Engineering of Software Systems, Fall 2018 Instructor: Julian Shun View the complete course: https://ocw.mit.edu/6-172F18 YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf Prof. Shun discusses cache-oblivious algorithms throug

From playlist MIT 6.172 Performance Engineering of Software Systems, Fall 2018

Video thumbnail

Merge Sort 1 – The Algorithm

This is the first in a series of videos about the merge sort. It describes the principle of the merge sort algorithm, which takes a ‘divide and conquer’ approach to the problem of sorting and unordered list. The videos that follow build on these principles, leading towards a recursive im

From playlist Sorting Algorithms

Video thumbnail

Lec 9 | MIT 6.172 Performance Engineering of Software Systems, Fall 2010

Lecture 9: Cache-Efficient Algorithms II Instructor: John Dong, Saman Amarasinghe, Charles Leiserson View the complete course: http://ocw.mit.edu/6-172F10 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.172 Performance Engineering of Software Systems

Video thumbnail

Heaps Of Fun Solution - Intro to Algorithms

This video is part of an online course, Intro to Algorithms. Check out the course here: https://www.udacity.com/course/cs215.

From playlist Introduction to Algorithms

Video thumbnail

Lec 25 | MIT 6.046J / 18.410J Introduction to Algorithms (SMA 5503), Fall 2005

Lecture 25: Advanced Topics (cont.) | Discussion of Follow-on Classes View the complete course at: http://ocw.mit.edu/6-046JF05 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.046J / 18.410J Introduction to Algorithms (SMA 5503),

Video thumbnail

Lec 24 | MIT 6.046J / 18.410J Introduction to Algorithms (SMA 5503), Fall 2005

Lecture 24: Advanced Topics (cont.) View the complete course at: http://ocw.mit.edu/6-046JF05 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.046J / 18.410J Introduction to Algorithms (SMA 5503),

Video thumbnail

Lec 8 | MIT 6.172 Performance Engineering of Software Systems, Fall 2010

Lecture 8: Cache-Efficient Algorithms Instructor: Charles Leiserson View the complete course: http://ocw.mit.edu/6-172F10 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.172 Performance Engineering of Software Systems

Video thumbnail

Analog vs. Digital Epsilons: Implementation Considerations Considerations for Differential Privacy

A Google TechTalk, presented by Olya Ohrimenko, 2021/11/17 Differential Privacy for ML series.

From playlist Differential Privacy for ML

Video thumbnail

Expanders and Communication-Avoiding Algorithms - Oded Schwartz

Oded Schwartz Technical University Berlin January 25, 2010 Algorithms spend time on performing arithmetic computations, but often more on moving data, between the levels of a memory hierarchy and between parallel computing entities. Judging by the hardware evolution of the last few decades

From playlist Mathematics

Video thumbnail

Merge Sort 2 – Towards an Implementation (Split a List)

This is the second in a series of videos about the merge sort. It includes a description of an algorithm and pseudocode for taking an unordered list and splitting it into two separate unordered lists. The videos that follow build on these principles, leading towards a recursive implement

From playlist Sorting Algorithms

Video thumbnail

14. Caching and Cache-Efficient Algorithms

MIT 6.172 Performance Engineering of Software Systems, Fall 2018 Instructor: Julian Shun View the complete course: https://ocw.mit.edu/6-172F18 YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf Prof. Shun discusses associativity in caches, the idea

From playlist MIT 6.172 Performance Engineering of Software Systems, Fall 2018

Video thumbnail

9. Cache-Oblivious Structures II

MIT 6.851 Advanced Data Structures, Spring 2012 View the complete course: http://ocw.mit.edu/6-851S12 Instructor: Erik Demaine Memory hierarchy: distribution sweeping via lazy funnelsort; cache-oblivious orthogonal 2D range searching: batched and online License: Creative Commons BY-NC-SA

From playlist MIT 6.851 Advanced Data Structures, Spring 2012

Video thumbnail

Indexing 3: sparseness and linear merge

Inverted indices are sparse: most of the entries in the list are zero. We store only non-zero values as a set of (docid,frequency) tuples. We use a variant of the linear merge algorithm to find a set of documents matching the query. An integral part of the algorithm is a scoring function,

From playlist IR7 Inverted Indexing

Related pages

Median of medians | Cache-oblivious algorithm | Sorting algorithm | External sorting | Comparison sort | Quicksort | Funnelsort