Skip to main content

10 docs tagged with "Trie"

View all tags

Implement Trie

This document provides a solution to the Implementation of Trie.

Maximum XOR With an Element From Array

Solve the problem of finding the maximum bitwise XOR of an element with given elements that do not exceed a specified value using trie and bit manipulation.

Replace Words

This is a solution to the Replace Words problem on LeetCode.

Word Break(LeetCode)

Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words.

Word Search II

This document provides a solution to the Word Search II problem, where we need to return all words on the board, given an mXn board of characters and a list of strings words.