prefix-tree Questions
3
Solved
I'm trying to implement a data structure that supports autocomplete on a website.
I've managed to implement an iterative version of a Trie. It supports the two primary methods of adding and searchi...
Merino asked 4/9, 2017 at 14:0
2
Solved
I have written down a simple function that determines if str1 is a prefix of str2. It's a very simple function, that looks like this (in JS):
function isPrefix(str1, str2) // determine if str1 is...
Humorist asked 3/9, 2013 at 1:35
1
© 2022 - 2024 — McMap. All rights reserved.