{
  "tag": "5TGWDS",
  "kind": "concept",
  "slug": "best-case-analysis",
  "name": "Best-case analysis",
  "aliases": [
    "best-case running time"
  ],
  "area": "foundations/asymptotic-analysis",
  "level": "intro",
  "summary": "Gives the minimum running time over all inputs of a given size.",
  "prereqs": [
    "time-complexity",
    "input-size"
  ],
  "sources": [
    {
      "url": "https://en.wikipedia.org/wiki/Best,_worst_and_average_case",
      "locator": "article Best, worst and average case (definition of the best case)"
    },
    {
      "book": "isbn:9780262046305",
      "title": "Cormen, Leiserson, Rivest and Stein, Introduction to Algorithms, fourth edition",
      "locator": "Section 2.2 (analysis of insertion sort, best case)"
    },
    {
      "book": "isbn:9780321573513",
      "title": "Robert Sedgewick and Kevin Wayne, Algorithms, fourth edition",
      "locator": "Section 1.4 (Analysis of Algorithms) and Section 2.1 (insertion sort)"
    },
    {
      "book": "isbn:9780201896855",
      "title": "Donald E. Knuth, The Art of Computer Programming, Volume 3, second edition",
      "locator": "Section 5.2.1 (sorting by insertion)"
    }
  ],
  "see_also": [
    "worst-case-analysis",
    "average-case-analysis",
    "adaptive-sorting",
    "insertion-sort",
    "asymptotic-notation"
  ],
  "url": "https://algorithm.tamnd.com/best-case-analysis/",
  "path": "nodes/foundations/asymptotic-analysis/best-case-analysis",
  "status": {
    "slug": "best-case-analysis",
    "h": {
      "level": 0,
      "max": 3,
      "label": "H0",
      "name": "no proof",
      "next": [
        "add a proof in proofs/ (06.5)"
      ]
    },
    "l": {
      "level": 0,
      "max": 4,
      "label": "L0",
      "name": "no Lean part",
      "next": [
        "name a Lean module in the lean field (07)"
      ]
    },
    "i": {},
    "v": {
      "level": 0,
      "max": 3,
      "label": "V0",
      "name": "none",
      "next": [
        "add viz/scene.ts or a figure (10)"
      ]
    },
    "w": {
      "level": 4,
      "max": 5,
      "label": "W4",
      "name": "complete",
      "next": [
        "a review of the text: no review record reviews/5TGWDS/text.yaml"
      ]
    }
  },
  "scene": false
}
