GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — all algorithms use mathjax for complexities (#212) · mohaike/AlgorithmVisualizer@f039b39

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • algorithm
    • backtracking
      • knight's_tour
        • desc.json
      • n_queens
        • desc.json
    • cryptography/affine_cipher
      • desc.json
    • dp
      • catalan_number
        • desc.json
      • fibonacci
        • desc.json
      • integer_partition
        • desc.json
      • knapsack_problem
        • desc.json
      • longest_common_subsequence
        • desc.json
      • longest_increasing_subsequence
        • desc.json
      • longest_palindromic_subsequence
        • desc.json
      • max_subarray
        • desc.json
      • max_sum_path
        • desc.json
      • pascal_triangle
        • desc.json
      • shortest_common_supersequence
        • desc.json
      • sliding_window
        • desc.json
      • ugly_numbers
        • desc.json
    • etc/magic_square
      • desc.json
    • graph_search
      • bellman_ford
        • desc.json
      • bfs
        • desc.json
      • bridges
        • desc.json
      • dfs
        • desc.json
      • dijkstra
        • desc.json
      • floyd_warshall
        • desc.json
      • page_rank
        • desc.json
      • topological_sort
        • desc.json
    • greedy
      • job_scheduling
        • desc.json
      • majority_element
        • desc.json
    • mst
      • kruskal
        • desc.json
      • prim
        • desc.json
    • number_theory
      • euclidean_algorithm
        • desc.json
      • sieve_of_eratosthenes
        • desc.json
    • search/binary_search
      • desc.json
    • sorting
      • bubble
        • desc.json
      • bucket
        • desc.json
      • comb
        • desc.json
      • counting
        • desc.json
      • cycle
        • desc.json
      • heap
        • desc.json
      • insertion
        • desc.json
      • merge
        • desc.json
      • pigeonhole
        • desc.json
      • quick
        • desc.json
      • radix
        • desc.json
      • selection
        • desc.json
      • shell
        • desc.json
    • string
      • edit_distance
        • desc.json
      • knuth_morris_pratt
        • desc.json
      • rabin_karp_algorithm
        • desc.json
      • suffix_array
        • desc.json
      • z_algorithm
        • desc.json
    • tree
      • binary_search_tree
        • desc.json
      • binary_tree_traversal
        • desc.json
      • lowest_common_ancestor
        • desc.json
  • index.html

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎algorithm/backtracking/knight's_tour/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/backtracking/knight's_tour/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Knight’s tour problem": "A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square only once. If the knight ends on a square that is one knight's move from the beginning square (so that it could tour the board again immediately, following the same path), the tour is closed, otherwise it is open.",
33
"Complexity": {
4-
"time": "Worst $$O(8^{N^{2}})$$",
5-
"space": "Worst $$O(N^2)$$"
4+
"time": "Worst $O(8^{N^{2}})$",
5+
"space": "Worst $O(N^2)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Knight%27s_tour'>Wikipedia</a>"
Collapse file

‎algorithm/backtracking/n_queens/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/backtracking/n_queens/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"Searching"
66
],
77
"Complexity": {
8-
"time": "Worst $$O(N!)$$",
9-
"space": "Worst $$O(N)$$"
8+
"time": "Worst $O(N!)$",
9+
"space": "Worst $O(N)$"
1010
},
1111
"References": [
1212
"<a href='http://www.geeksforgeeks.org/backtracking-set-3-n-queen-problem/'>geeksforgeeks</a>"
Collapse file

‎algorithm/cryptography/affine_cipher/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/cryptography/affine_cipher/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"More complex Variations of Affine Cipher are used in practical cryptography"
66
],
77
"Complexity": {
8-
"time": "worst O(N), N = length of plain/cipher text",
9-
"space": "worst O(N), to create the new mapping (plain->cipher, cipher->plain)"
8+
"time": "worst $O(N)$, $N$ = length of plain/cipher text",
9+
"space": "worst $O(N)$, to create the new mapping (plain->cipher, cipher->plain)"
1010
},
1111
"References": [
1212
"<a href='http://practicalcryptography.com/ciphers/affine-cipher/'>Practicalcryptography</a>"
Collapse file

‎algorithm/dp/catalan_number/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/dp/catalan_number/desc.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"The number of ways to cut an n+2-sided convex polygon in a plane into triangles by connecting vertices with straight, non-intersecting lines is the nth Catalan number. This is the application in which Euler was interested."
77
],
88
"Complexity": {
9-
"time": " O(N<sup>2</sup>)",
10-
"space": "O(N)"
9+
"time": " $O(N^2)$",
10+
"space": "$O(N)$"
1111
},
1212
"References": [
1313
"<a href='https://en.wikipedia.org/wiki/Catalan_number'>Wikipedia</a>",
@@ -16,4 +16,4 @@
1616
"files": {
1717
"catalan_number": "Catalan Number"
1818
}
19-
}
19+
}
Collapse file

‎algorithm/dp/fibonacci/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/dp/fibonacci/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Fibonacci Sequence": "Finding Fibonacci sequence using dynamic programming.",
33
"Complexity": {
4-
"time": "O(n)",
5-
"space": "O(n)"
4+
"time": "$O(n)$",
5+
"space": "$O(n)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Dynamic_programming#Fibonacci_sequence'>Wikipedia</a>"
Collapse file

‎algorithm/dp/integer_partition/desc.json‎

Copy file name to clipboard
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"Integer Partition": "In number theory and combinatorics, a partition of a positive integer n, also called an integer partition, is a way of writing n as a sum of positive integers.",
33
"Complexity": {
4-
"time": "O(n(log n))",
5-
"space": "O(n<sup>2</sup>)"
4+
"time": "$O(n(log \\, n))$",
5+
"space": "$O(n^2)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Partition_(number_theory)'>Wikipedia</a>"
99
],
1010
"files": {
1111
"basic": "Integer partition"
1212
}
13-
}
13+
}
Collapse file

‎algorithm/dp/knapsack_problem/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/dp/knapsack_problem/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Knapsack Problem": "Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible.",
33
"Complexity": {
4-
"time": "O(n<sup>2</sup>)",
5-
"space": "O(n<sup>2</sup>)"
4+
"time": "$O(n^2)$",
5+
"space": "$O(n^2)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Knapsack_problem'>Wikipedia</a>"
Collapse file

‎algorithm/dp/longest_common_subsequence/desc.json‎

Copy file name to clipboard
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"Longest Common Subsequence": "The longest common subsequence (LCS) problem is the problem of finding the longest subsequence common to all sequences in a set of sequences (often just two sequences)." ,
33
"Complexity": {
4-
"time": "O(mn)",
5-
"space": "O(mn)"
4+
"time": "$O(m\\cdot n)$",
5+
"space": "$O(m\\cdot n)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Longest_common_subsequence_problem'>Wikipedia</a>"
99
],
1010
"files": {
1111
"basic": "Longest common subsequence"
1212
}
13-
}
13+
}
Collapse file

‎algorithm/dp/longest_increasing_subsequence/desc.json‎

Copy file name to clipboard
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"Longest Increasing Subsequence": "Find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order",
33
"Complexity": {
4-
"time": "O(n(log n))",
5-
"space": "O(n)"
4+
"time": "$O(n(log\\,n))$",
5+
"space": "$O(n)$"
66
},
77
"References": [
88
"<a href='https://en.wikipedia.org/wiki/Longest_increasing_subsequence'>Wikipedia</a>"
99
],
1010
"files": {
1111
"basic": "Longest increasing subsequence"
1212
}
13-
}
13+
}
Collapse file

‎algorithm/dp/longest_palindromic_subsequence/desc.json‎

Copy file name to clipboardExpand all lines: algorithm/dp/longest_palindromic_subsequence/desc.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Longest Palindromic Subsequence": "Find the length of the longest palindromic subsequence in a given sequence",
33
"Complexity": {
4-
"time": "O(n<sup>2</sup>)",
5-
"space": "O(n<sup>2</sup>)"
4+
"time": "$O(n^2)$",
5+
"space": "$O(n^2)$"
66
},
77
"References": [
88
"<a href='http://www.geeksforgeeks.org/dynamic-programming-set-12-longest-palindromic-subsequence/'>GeeksForGeeks</a>"

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.