Given a string of lowercase English letters, find the length of its longest contiguous substring that doesn’t contain any character more than once.

Continue reading “CodeFights”


CodeFights – Search Algorithms Quiz Answers

Wiki Pages for Some Algorithms:

Knuth–Morris–Pratt algorithm

Boyer–Moore string search algorithm

Rabin–Karp algorithm

Binary Search

Ternary Search

1)What type of search algorithm is used in this representation?

Continue reading “CodeFights – Search Algorithms Quiz Answers”