Skip to content

rst76/pfds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purely Functional Data Structures

Solutions for "Purely Functional Data Structures" by Chris Okasaki.

2 Persistance

2.1 Lists

2.2 Binary Search Tree

3 Some Faimiliar Data Structures in a Functional Setting

3.1 Leftist Heaps

3.2 Binomial Heaps

3.3 Red-Black Trees

4 Lazy Evaluation

4.1 $-notation

4.2 Streams

5 Fundamentals of Amortization

5.1 Techniques of Amortized Analysis

5.2 Queues

5.3 Binomial Heaps

5.4 Splay Heaps

5.5 Pairing Heaps

5.6 The Bad News

6 Amortization and Persistence via Lazy Evaluation

6.1 Execution Traces and Logical Time

6.2 Reconciling Amortization and Persistence

6.3 The Banker's Method

6.4 The Physicist's Method

6.5 Lazy Pairing Heaps

7 Eliminating Amortization

7.1 Scheduling

7.2 Real-Time Queues

7.3 Binomial Heaps

7.4 Bottom-Up Mergesort with Sharing

8 Lazy Rebuilding

8.1 Batched Rebuilding

8.2 Global Rebuilding

8.3 Lazy Rebuilding

8.4 Double-Ended Queues

9 Numerical Representations

9.1 Positional Number Systems

9.2 Binary Numbers

9.3 Skew Binary Numbers

9.4 Trinary and Quatenary Numbers

10 Data-Structual Bootstrapping

10.1 Structual Decomposition

10.2 Structual Abstraction

  • Exercise 10.6
  • Exercise 10.7
  • Exercise 10.8

10.3 Bootstrapping To Aggregate Types

  • Exercise 10.9
  • Exercise 10.10
  • Exercise 10.11
  • Exercise 10.12
  • Exercise 10.13
  • Exercise 10.14
  • Exercise 10.15

11 Implicit Recursive Slowdown

11.1 Queues and Deques

  • Exercise 11.1
  • Exercise 11.2

11.2 Catenable Double-Ended Queues

  • Exercise 11.3
  • Exercise 11.4

About

Purely Functional Data Structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published