Data Structures and Algorithms
Primary version
Primary version
  • Data Structures and Algorithms
  • Algorithms Analysis
    • Measuring Resource Consumption
    • Growth Rates
    • Asymptotic Notation
    • Analysis of Linear Search
    • Analysis of Binary Search
    • How to do an analysis in 5 steps
  • Recursion
    • Writing a recursive function
    • How do recursive functions work?
    • Analysis of a Recursive Function
    • Drawbacks of Recursion and Caution
  • Lists
    • Implementation
    • Linked List
      • Concepts
      • Implementation - List and Nodes
      • Implementation - push_front(), pop_front()
      • Implementation - Iterators
      • Modification - Sentinel Nodes
  • Stacks and Queues
    • Stack Implementation
    • Queue Implementation
  • Table
    • A Simple Implementation
    • Hash Tables
      • Bucketing
      • Chaining
      • Linear Probing
  • Sorting
    • Simple Sorts
      • Bubble Sort
      • Insertion Sort
      • Selection Sort
    • Merge Sort
    • Quick Sort
    • Heap and Heap Sort
      • Priority Queues using Binary Heaps
      • Heapify and Heap Sort
  • Trees
    • Binary Trees
    • Binary Search Trees
    • BST Implemenation
    • Iterative Methods
    • Recursive Methods
  • AVL Trees
  • Red Black Trees
  • 2-3 Trees
  • Graphs
  • Introduction to Computational Theory
  • Appendix: Markdown
  • Appendix: Mathematics Review
Powered by GitBook
On this page
  • Headings
  • Unordered List
  • Ordered List
  • Tables
  • Code
  • For pretty math formulas

Appendix: Markdown

Headings

# Heading Level 1
## Heading Level 2
### Heading Level 3

Unordered List

* item 1
* item 2
    * first subitem of item 2
    * second subitem of item 2

Above creates the following

  • item 1

  • item 2

    • first subitem of item 2

    • second subitem of item 2

Ordered List

1. item 1
1. item 2
    1. first subitem of item 2
    1. second subitem of item 2

Above creates this. Note that the number before the dot is irrelevant. Markdown will automatically number it for you.

  1. item 1

  2. item 2

    1. first subitem of item 2

    2. second subitem of item 2

Tables

To make a table:

| heading 1 | heading 2 |
|---|---|
|col 1, row1|col2 row 1|
|col 1, row2|col2 row 2|

creates:

heading 1

heading 2

col1,row1

col2 row 1

co1, row2

col2 row 2

Code

 ```language name
    code goes here
 ```

For pretty math formulas

the only way to make your mathematical formulas look good is to use LaTex. You can do this if you wish but its not necessary. To put a mathematical formula written in LaTex into your wiki, you can use google charts api. You create an image link tag and then fill link it to a call the the charts api. For example:

...
![formula]
... rest of your page
...
[formula]: http://chart.apis.google.com/chart?cht=tx&chl=LaTex_Formatted_Expression

For example:

...
![formula]
... rest of your page
...
[formula]: http://chart.apis.google.com/chart?cht=tx&chl=3n%2B4

this would produce following in your wiki page where you have ![formula]

3n+43n+43n+4

PreviousIntroduction to Computational TheoryNextAppendix: Mathematics Review

Last updated 6 years ago