# Grammarly Coding Interview Questions

> 26 DSA problems asked in Grammarly coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/grammarly
Last updated: 2026-11-28

26 DSA problems tagged as asked in Grammarly coding interviews and online assessments. Below are all 26: 6 easy, 17 medium and 3 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Grammarly DSA problems, easiest first

1. [Climbing Stairs](https://www.internhack.in/learn/dsa/problem/climbing-stairs) (Easy)
2. [Logger Rate Limiter](https://www.internhack.in/learn/dsa/problem/logger-rate-limiter) (Easy)
3. [Perfect Number](https://www.internhack.in/learn/dsa/problem/perfect-number) (Easy)
4. [Remove All Adjacent Duplicates In String](https://www.internhack.in/learn/dsa/problem/remove-all-adjacent-duplicates-in-string) (Easy)
5. [Sqrt(x)](https://www.internhack.in/learn/dsa/problem/sqrtx) (Easy)
6. [Sum of Left Leaves](https://www.internhack.in/learn/dsa/problem/sum-of-left-leaves) (Easy)
7. [Check If a String Contains All Binary Codes of Size K](https://www.internhack.in/learn/dsa/problem/check-if-a-string-contains-all-binary-codes-of-size-k) (Medium)
8. [Clone Graph](https://www.internhack.in/learn/dsa/problem/clone-graph) (Medium)
9. [Decode the Slanted Ciphertext](https://www.internhack.in/learn/dsa/problem/decode-the-slanted-ciphertext) (Medium)
10. [Evaluate Reverse Polish Notation](https://www.internhack.in/learn/dsa/problem/evaluate-reverse-polish-notation) (Medium)
11. [Generate Parentheses](https://www.internhack.in/learn/dsa/problem/generate-parentheses) (Medium)
12. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
13. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
14. [Maximum Palindromes After Operations](https://www.internhack.in/learn/dsa/problem/maximum-palindromes-after-operations) (Medium)
15. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
16. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
17. [Remove All Adjacent Duplicates in String II](https://www.internhack.in/learn/dsa/problem/remove-all-adjacent-duplicates-in-string-ii) (Medium)
18. [Repeated DNA Sequences](https://www.internhack.in/learn/dsa/problem/repeated-dna-sequences) (Medium)
19. [Search in Rotated Sorted Array](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array) (Medium)
20. [Unique Paths](https://www.internhack.in/learn/dsa/problem/unique-paths) (Medium)
21. [Vowel Spellchecker](https://www.internhack.in/learn/dsa/problem/vowel-spellchecker) (Medium)
22. [Word Break](https://www.internhack.in/learn/dsa/problem/word-break) (Medium)
23. [Word Search](https://www.internhack.in/learn/dsa/problem/word-search) (Medium)
24. [Special Binary String](https://www.internhack.in/learn/dsa/problem/special-binary-string) (Hard)
25. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)
26. [Word Break II](https://www.internhack.in/learn/dsa/problem/word-break-ii) (Hard)

## Prepare for the rest of the Grammarly process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
