Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Naplavkov committed Aug 21, 2023
1 parent 3eccaff commit 4b163b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ Step20 is a C++20, header-only library of STL-like algorithms and data structure
### Table of Contents (wiki, examples)

* [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L141-L148)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L136-L143)
* [LFU cache](https://en.wikipedia.org/wiki/Least_frequently_used):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L283-L293)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L278-L288)
* [LRU cache](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L299-L308)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L294-L303)
* [longest common subsequence](https://en.wikipedia.org/wiki/Longest_common_subsequence_problem):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L337-L341),
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L332-L336),
[example](https://github.com/storm-ptr/step20/blob/main/example/diff/diff.hpp#L49-L67)
* [longest common substring](https://en.wikipedia.org/wiki/Longest_common_substring_problem):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L358-L362)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L353-L357)
* [longest repeated substring](https://en.wikipedia.org/wiki/Longest_repeated_substring_problem):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L404-L406)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L399-L401)
* [suffix array](https://en.wikipedia.org/wiki/Suffix_array):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L485-L486)
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L480-L481)
* [suffix tree](https://en.wikipedia.org/wiki/Suffix_tree):
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L514-L515),
[snippet](https://github.com/storm-ptr/step20/blob/main/test/main.cpp#L509-L510),
[example](https://github.com/storm-ptr/step20/blob/main/example/suffix_tree_viz/suffix_tree_viz.hpp#L16-L42)
5 changes: 0 additions & 5 deletions test/main.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
// Andrew Naplavkov

// clang-cl workaround
#ifndef __cpp_consteval
#define __cpp_consteval 201811L
#endif

#include <cctype>
#include <iostream>
#include <random>
Expand Down

0 comments on commit 4b163b9

Please sign in to comment.