Directi Coding Interview Questions: 18 Tagged Problems
18 coding problems tagged Directi — 3 easy · 9 medium · 6 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 18
- By difficulty: 3 easy · 9 medium · 6 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
18 problems the CodeKairo catalogue tags as commonly asked in Directi's coding rounds — 3 easy, 9 medium and 6 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (11), Matrix (6) and Strings (5). Tagged for Directi and no other company: Min Cost to Connect All Points and Best Time to Buy and Sell Stock II. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Directi, which CodeKairo is not affiliated with.
Directi study plan by topic
All 18 problems tagged Directi over 2 weeks, about 11 h 15 min of solving, grouped by technique in the order they build on each other — Counting, Math, Two Pointers and Sliding Window and 12 more.
Week 1: Counting, Math, Two Pointers +7
12 problems on Counting, Math, Two Pointers, Sliding Window, Prefix Sum, Binary Search, Monotonic Stack, Monotonic Queue, Matrix and Simulation, easiest first within each topic.
- Valid Anagram Easy
- Excel Sheet Column Title Easy
- Minimum Number of Moves to Make Palindrome Hard
- Number of Subarrays with Bounded Maximum Medium
- Number of Sub-arrays With Odd Sum Medium
- Find Longest Awesome Substring Hard
- Find Nth Root of M Easy
- Maximal Rectangle Hard
- Sliding Window Maximum Hard
- Search a 2D Matrix Medium
- Largest Submatrix With Rearrangements Medium
- Find the Winner of an Array Game Medium
Week 2: Greedy, Divide and Conquer, Trie +3
6 problems on Greedy, Divide and Conquer, Trie, Backtracking, Minimum Spanning Tree and Game Theory, easiest first within each topic.
- Best Time to Buy and Sell Stock II Medium
- Search a 2D Matrix II Medium
- Word Search II Hard
- Sudoku Solver Hard
- Min Cost to Connect All Points Medium
- Stone Game IX Medium
All problems tagged Directi
Easy (3)
- Find Nth Root of M Math, Binary Search
- Excel Sheet Column Title Math, String
- Valid Anagram Hash Table, String, Sorting
Medium (9)
- Largest Submatrix With Rearrangements Array, Greedy, Sorting
- Number of Sub-arrays With Odd Sum Array, Math, Dynamic Programming
- Find the Winner of an Array Game Array, Simulation
- Stone Game IX Array, Math, Greedy
- Search a 2D Matrix II Array, Matrix, Binary Search
- Number of Subarrays with Bounded Maximum Array, Sliding Window, Two Pointers
- Min Cost to Connect All Points Graph, Minimum Spanning Tree, Union Find
- Search a 2D Matrix Array, Matrix, Binary Search
- Best Time to Buy and Sell Stock II Array, Greedy, Dynamic Programming
Hard (6)
- Word Search II String, Backtracking, Trie
- Sudoku Solver Array, Hash Table, Backtracking
- Find Longest Awesome Substring String, Hash Table, Bit Manipulation
- Maximal Rectangle Array, Matrix, Stack
- Minimum Number of Moves to Make Palindrome String, Two Pointers, Greedy
- Sliding Window Maximum Array, Sliding Window, Monotonic Queue
Topics Directi asks most
- Arrays 11 problems
- Matrix 6 problems
- Strings 5 problems
- Math 4 problems
- Greedy 4 problems
- Hash Table 3 problems
- Binary Search 3 problems
- Dynamic Programming 3 problems
- Counting 2 problems
- Two Pointers 2 problems
- Sliding Window 2 problems
- Prefix Sum 2 problems