1 - 2
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<head>
|
||||
<title>Colors Trie</title>
|
||||
<title>Data Trie</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -1,13 +1,13 @@
|
||||
let data = new Trie();
|
||||
|
||||
let json = {
|
||||
"color": ["red", "rebecca", "blue", "cyan", "pink", "purple",
|
||||
"teal", "black", "white", "orange", "yellow", "green"],
|
||||
"color": ["Red", "Rebecca", "Blue", "Cyan", "Pink", "Purple",
|
||||
"Teal", "Black", "White", "Orange", "Yellow", "Green"],
|
||||
"name": ["Jack", "James", "Alex", "Adam", "Mahdi", "Josh", "Scott",
|
||||
"Pat", "Vincent", "Daniel", "Patrick", "Tim"],
|
||||
"app": ["Atom", "Sublime", "Firefox", "Chrome", "Safari", "Mail",
|
||||
"Blender", "Sketch", "Slack", "Finder", "Nightly", "Aurora",
|
||||
"f.lux", "LookUp", "WunderList", "Instagram", "Toggl"]
|
||||
"f.lux", "LookUp", "WunderList", "Instagram", "Toggl", "Mailbox"]
|
||||
};
|
||||
|
||||
for (let category in json) {
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"color": ["red", "rebecca", "blue", "cyan", "pink", "purple",
|
||||
"teal", "black", "white", "orange", "yellow", "green"],
|
||||
"color": ["Red", "Rebecca", "Blue", "Cyan", "Pink", "Purple",
|
||||
"Teal", "Black", "White", "Orange", "Yellow", "Green"],
|
||||
"name": ["Jack", "James", "Alex", "Adam", "Mahdi", "Josh", "Scott",
|
||||
"Pat", "Vincent", "Daniel", "Patrick", "Tim"],
|
||||
"app": ["Atom", "Sublime", "Firefox", "Chrome", "Safari", "Mail",
|
||||
"Blender", "Sketch", "Slack", "Finder", "Nightly", "Aurora",
|
||||
"f.lux", "LookUp", "WunderList", "Instagram", "Toggl"]
|
||||
"f.lux", "LookUp", "WunderList", "Instagram", "Toggl", "Mailbox"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user