Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2965788

Browse files
clean up readme
1 parent 51fecaf commit 2965788

File tree

3 files changed

+68
-65
lines changed

3 files changed

+68
-65
lines changed

‎README.md‎

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -27,54 +27,3 @@ We are covering the following data structures.
2727
1. **Hash Maps**: implements map using a hash function. [Code](https://github.com/amejiarosario/algorithms.js/blob/master/src/data-structures/hash-maps/hashmap.js) | [Details](https://adrianmejia.com/blog/2018/04/28/data-structures-time-complexity-for-beginners-arrays-hashmaps-linked-lists-stacks-queues-tutorial/#HashMaps)
2828
2. **Tree Maps**: implement map using a self-balanced BST. WIP
2929
3. **Graphs**: data *nodes* that can have a connection or *edge* to zero or more adjacent nodes. Unlike trees, nodes can have multiple parents, loops. [Code](https://github.com/amejiarosario/algorithms.js/blob/master/src/data-structures/graphs/graph.js) | [Details](https://adrianmejia.com/blog/2018/05/14/data-structures-for-beginners-graphs-time-complexity-tutorial/)
30-
31-
## Algorithms
32-
1. Searching algorithms (WIP)
33-
2. Sorting algorithms (WIP)
34-
35-
# Roadmap
36-
- [ ] Refactor LinkedList.remove(). It's doing to much maybe it can be refactor in terms of removeByPosition and indexOf
37-
- [ ] Use comparators on BST in case node's values are not just numbers but also objects.
38-
39-
# Troubleshooting
40-
Some notes while working on this project
41-
42-
## Tests
43-
Running one test without changing file
44-
```sh
45-
jest -t '#findNodeAndParent'
46-
```
47-
48-
Running one test changing code
49-
```js
50-
it.only('should return with an element and its parent', () => {
51-
// ...
52-
});
53-
```
54-
55-
## English Words
56-
57-
Getting some (200k+) English words are useful for testing and benchmarking.
58-
59-
```sh
60-
cat /usr/share/dict/words > benchmarks/dict.txt
61-
```
62-
63-
## ESLint
64-
65-
Disabling ESLints
66-
```js
67-
somthing(t) => 1 // eslint-disable-line no-unused-vars
68-
// eslint-disable-next-line no-use-before-define
69-
const thing = new Thing();
70-
71-
/*eslint-disable */
72-
//suppress all warnings between comments
73-
alert('foo');
74-
/*eslint-enable */
75-
76-
/* eslint-disable no-alert, no-console */
77-
alert('foo');
78-
console.log('bar');
79-
/* eslint-enable no-alert */
80-
```

‎notes.md‎

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
## Algorithms
2+
1. Searching algorithms (WIP)
3+
2. Sorting algorithms (WIP)
4+
5+
# Roadmap
6+
- [ ] Refactor LinkedList.remove(). It's doing to much maybe it can be refactor in terms of removeByPosition and indexOf
7+
- [ ] Use comparators on BST in case node's values are not just numbers but also objects.
8+
- [ ] Writeup on balancing trees
9+
- [ ] More algorithm and datastructres! Greedy, Divide and Conquer etc.
10+
- [ ] Algorithms visualizations like https://bost.ocks.org/mike/algorithms/
11+
12+
Compare content with:
13+
- [ ] https://adrianmejia.com/blog/2018/04/28/data-structures-time-complexity-for-beginners-arrays-hashmaps-linked-lists-stacks-queues-tutorial/#Stacks
14+
- [ ] https://medium.freecodecamp.org/time-is-complex-but-priceless-f0abd015063c
15+
- [ ] https://leetcode.com/explore/learn/
16+
- [ ] https://github.com/trekhleb/javascript-algorithms
17+
- [ ] https://www.khanacademy.org/computing/computer-science/algorithms
18+
- [ ] Compare with: Data Structures and Algorithms.pdf by Lydia Hallie
19+
- [ ] Cracking code interviews
20+
- [ ] Grokking Algorithms
21+
- [ ] CS Distilled
22+
- [ ] Create poster like: http://bigocheatsheet.com/, http://bigoref.com/,
23+
- [ ] https://introcs.cs.princeton.edu/java/11cheatsheet/
24+
25+
26+
27+
# Troubleshooting
28+
Some notes while working on this project
29+
30+
## Tests
31+
Running one test without changing file
32+
```sh
33+
jest -t '#findNodeAndParent'
34+
```
35+
36+
Running one test changing code
37+
```js
38+
it.only('should return with an element and its parent', () => {
39+
// ...
40+
});
41+
```
42+
43+
## English Words
44+
45+
Getting some (200k+) English words are useful for testing and benchmarking.
46+
47+
```sh
48+
cat /usr/share/dict/words > benchmarks/dict.txt
49+
```
50+
51+
## ESLint
52+
53+
Disabling ESLints
54+
```js
55+
somthing(t) => 1 // eslint-disable-line no-unused-vars
56+
// eslint-disable-next-line no-use-before-define
57+
const thing = new Thing();
58+
59+
/*eslint-disable */
60+
//suppress all warnings between comments
61+
alert('foo');
62+
/*eslint-enable */
63+
64+
/* eslint-disable no-alert, no-console */
65+
alert('foo');
66+
console.log('bar');
67+
/* eslint-enable no-alert */
68+
```

‎todo‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /