Problem Implement a MapSum class with insert, and sum methods. For the method insert, you’ll be given a pair of […]

# Tag: trie

## Writing a faster mutable trie

Problem I am implementing a mutable trie. I tested and it produces correct results. However, it is very slow. I […]

## Trie implementation in Python

Problem I have created a trie in Python and am looking for feedback. Specifically, I am looking for feedback on: […]

## LeetCode: Maximum XOR of Two Numbers in an Array

Problem Please review how clear my code is and also comment on performance. Given a non-empty array of numbers, a0, […]

## Readable implementation of Trie in Python

Problem Need reviews on my readable implementation of Trie. Also what other methods can or should be added to this […]

## Is this a valid implementation of trie Data structure?

Problem i am trying to learn Trie Data Structure and just implemented it without giving much attention to the code […]

## Is this a valid implementation of trie Data structure?

Problem i am trying to learn Trie Data Structure and just implemented it without giving much attention to the code […]

## Trie structure using Hash in Ruby

Problem This is a follow-up to Boggle board solver in Ruby class Trie < Hash def build(string) string << ‘.’ […]

## Trie for lowercase words

Problem I need to develop a dictionary program so I used a trie data structure to implement it. I have […]

## Boggle solver – Updated (with Trie)

Problem Here is an update to my previous boggle solver. The new version has an almost instantaneous output, removing the […]