CRED Coding Interview Questions: 6 Tagged Problems
6 coding problems tagged CRED — 1 easy · 5 medium — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 6
- By difficulty: 1 easy · 5 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
6 problems the CodeKairo catalogue tags as commonly asked in CRED's coding rounds — 1 easy and 5 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (5), Hash Table (2) and Heap (2). Tagged for CRED and no other company: Longest Repeating Character Replacement. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by CRED, which CodeKairo is not affiliated with.
CRED study plan by topic
All 6 problems tagged CRED, about 3 h 15 min of solving, grouped by technique in the order they build on each other — Counting, Sliding Window, Binary Search and Greedy and 2 more.
The plan
6 problems on Counting, Sliding Window, Binary Search, Greedy, Heap and Ordered Set, easiest first within each topic.
All problems tagged CRED
Easy (1)
- Count Elements With Maximum Frequency Array, Hash Table, Counting
Medium (5)
- Total Cost to Hire K Workers Array, Two Pointers, Simulation
- The Number of the Smallest Unoccupied Chair Array, Hash Table, Heap (Priority Queue)
- Minimum Operations to Make Median of Array Equal to K Array, Greedy, Sorting
- Maximum Candies Allocated to K Children Array, Binary Search
- Longest Repeating Character Replacement String, Sliding Window
Topics CRED asks most
- Arrays 5 problems
- Hash Table 2 problems
- Heap 2 problems
- Strings 1 problem
- Counting 1 problem
- Two Pointers 1 problem
- Sliding Window 1 problem
- Sorting 1 problem
- Binary Search 1 problem
- Simulation 1 problem
- Greedy 1 problem
- Ordered Set 1 problem