Timeline for Trie implementation for strings in Swift
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 19, 2020 at 22:44 | comment | added | ielyamani |
On the Naming point, contained is not as familiar, to me, as isFinal , isTerminating or isLeaf for Trie implementations. According to the API Design Guidelines: "Uses of Boolean methods and properties should read as assertions about the receive". Alternative implementation here.
|
|
Jun 17, 2020 at 16:33 | vote | accept | Paul Gowder | ||
Jun 17, 2020 at 14:30 | answer | added | Martin R | timeline score: 3 | |
Jun 17, 2020 at 13:10 | history | edited | Paul Gowder | CC BY-SA 4.0 |
explain limits of edge case checking
|
Jun 17, 2020 at 13:05 | comment | added | Paul Gowder | I'm not trying to handle that kind of input yet---intentionally trying to keep it simple and avoid having to put in checks for empty strings, removing things that aren't there, double insertions, etc. etc. I'll edit to make that clear and also to include my test cases. | |
Jun 16, 2020 at 22:49 | history | edited | Linny |
edited tags
|
|
Jun 16, 2020 at 22:25 | history | asked | Paul Gowder | CC BY-SA 4.0 |