Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chapter01/1.1 - Is Unique/isUnique.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var allUniqueChars = function(string) {
if (string.length > 128) returne false;

// O(n^2) approach, no additional data structures used
// for each character, check remaining characters for duplicates
Expand All @@ -13,4 +14,4 @@ var allUniqueChars = function(string) {
};

/* TESTS */
// log some tests here
// log some tests here