Mindtree Coding Questions: 19 Problems with Solutions
19 coding problems tagged Mindtree — 17 easy · 2 medium — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 19
- By difficulty: 17 easy · 2 medium
- 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
19 problems the CodeKairo catalogue tags as commonly asked in Mindtree's coding rounds — 17 easy and 2 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (9), Math (7) and Strings (5). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Mindtree, which CodeKairo is not affiliated with.
Mindtree study plan by topic
All 19 problems tagged Mindtree over 2 weeks, about 6 h 50 min of solving, grouped by technique in the order they build on each other — Arrays, Strings, Hash Table and Counting and 8 more.
Week 1: Arrays, Strings, Hash Table +5
12 problems on Arrays, Strings, Hash Table, Counting, Math, Two Pointers, Prefix Sum and Stack, easiest first within each topic.
- Second Largest Element Easy
- Longest Common Prefix Easy
- Remove Vowels from a String Easy
- Two Sum Easy
- Valid Anagram Easy
- Palindrome Number Easy
- Armstrong Number Easy
- Harshad Number Easy
- Rotate Array Medium
- Minimum Sum of Mountain Triplets I Easy
- Subarray Sum Equals K Medium
- Valid Parentheses Easy
Week 2: Queue, Simulation, Greedy +1
7 problems on Queue, Simulation, Greedy and Bit Manipulation, easiest first within each topic.
The Mindtree recruitment process, round by round
All problems tagged Mindtree
Easy (17)
- Find the XOR of Numbers Which Appear Twice Array, Hash Table, Bit Manipulation
- Minimum Sum of Mountain Triplets I Array, Prefix Sum
- Split With Minimum Sum Math, Greedy, Sorting
- Minimum Number Game Array, Sorting, Simulation
- Find the Array Concatenation Value Array, Two Pointers, Simulation
- Count Integers With Even Digit Sum Math, Simulation
- Remove Vowels from a String String
- Second Largest Element Array
- First Unique Character in a String Hash Table, String, Queue
- Harshad Number Math
- Armstrong Number Math
- Longest Common Prefix String
- Missing Number Array, Math, Bit Manipulation
- Valid Anagram Hash Table, String, Sorting
- Valid Parentheses String, Stack
- Palindrome Number Math
- Two Sum Array, Hash Table
Medium (2)
- Subarray Sum Equals K Array, Hash Table, Prefix Sum
- Rotate Array Array, Math, Two Pointers
Topics Mindtree asks most
- Arrays 9 problems
- Math 7 problems
- Strings 5 problems
- Hash Table 5 problems
- Sorting 3 problems
- Simulation 3 problems
- Counting 2 problems
- Two Pointers 2 problems
- Prefix Sum 2 problems
- Bit Manipulation 2 problems
- Stack 1 problem
- Queue 1 problem