Problem statement: Given an m*n “board” of characters and a list of strings “words”, return all the words present on
Continue readingCategory: Trie
Maximum Xor Queries | Trie
In this article, we will solve the most asked interview question: “Maximum Xor Queries”. Problem Link – Maximum Xor Queries
Continue readingNumber of Distinct Substrings in a String Using Trie
Problem Statement: Given a string of alphabetic characters. Return the count of distinct substrings of the string(including the empty string)
Continue readingImplement Trie – II
Problem Statement: Implement a data structure ”TRIE” from scratch. Complete some functions. 1) Trie(): Initialize the object of this “TRIE”
Continue readingImplement Trie – 1
Problem Statement: Implementing insertion, search, and startWith operations in a trie or prefix-tree. Implementation: Type 1: To insert a string
Continue reading