Trie Coding Problems

Prefix tree for string operations

59
Total Problems
5
Easy
25
Medium
25
Hard
Start Practicing
ab

Master DSA Topics - January, 2026

Practice problems across 75+ categories

Trie Coding Problems

Practice problems frequently asked at Trie 59 problems | 5 Easy | 25 Medium | 25 Hard

# Problem Difficulty Topics
46 Remove Sub-Folders from the Filesystem Medium
ArrayStringDepth-First Search
47 Replace Words Medium
ArrayHash TableString
48 Search Suggestions System Medium
ArrayStringBinary Search
49 Short Encoding of Words Medium
ArrayHash TableString
50 Shortest Uncommon Substring in an Array Medium
ArrayHash TableString
51 Stream of Characters Hard
ArrayStringDesign
52 Sum of Prefix Scores of Strings Hard
ArrayStringTrie
53 Top K Frequent Words Medium
ArrayHash TableString
54 Word Abbreviation Hard
ArrayStringGreedy
55 Word Break Medium
ArrayHash TableString
56 Word Break II Hard
ArrayHash TableString
57 Word Search II Hard
ArrayStringBacktracking
58 Word Squares Hard
ArrayStringBacktracking
59 Words Within Two Edits of Dictionary Medium
ArrayStringTrie
Showing 46-59 of 59
1 2 3 4

Tutorials Library

Master any technology with our largest free online Library. Browse through 500+ tutorials across 10+ categories.

Python

Python Tutorial

Java

Java Tutorial

JavaScript

JavaScript

C++

C++ Tutorial

C#

C# Tutorial

Go

Go Tutorial

Rust

Rust Tutorial

TypeScript

TypeScript

Swift

Swift Tutorial

Kotlin

Kotlin Tutorial

Ruby

Ruby Tutorial

PHP

PHP Tutorial

C

C Tutorial

Scala

Scala Tutorial

Perl

Perl Tutorial

R

R Tutorial

Dart

Dart Tutorial

Lua

Lua Tutorial

MATLAB

MATLAB

Haskell

Haskell

Developer Toolbox

Powerful online tools to boost your productivity

public class MyFirstJavaProgram { Edit & Run

   /* This is my first java program.
    * This will print 'Hello, World!' as the output
    */

   public static void main(String []args) {
      System.out.println("Hello, World!"); // prints
   }
}

Start Coding in Seconds

Coding Ground For Developers

Code, Edit, Run and Share

Ignite your coding potential on Coding Ground - an immersive online platform for hands-on learning, collaboration, and skill development.