Grammarly Coding Interview Questions

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 (Easy)
  2. Logger Rate Limiter (Easy)
  3. Perfect Number (Easy)
  4. Remove All Adjacent Duplicates In String (Easy)
  5. Sqrt(x) (Easy)
  6. Sum of Left Leaves (Easy)
  7. Check If a String Contains All Binary Codes of Size K (Medium)
  8. Clone Graph (Medium)
  9. Decode the Slanted Ciphertext (Medium)
  10. Evaluate Reverse Polish Notation (Medium)
  11. Generate Parentheses (Medium)
  12. Implement Trie (Prefix Tree) (Medium)
  13. Insert Delete GetRandom O(1) (Medium)
  14. Maximum Palindromes After Operations (Medium)
  15. Merge Intervals (Medium)
  16. Number of Islands (Medium)
  17. Remove All Adjacent Duplicates in String II (Medium)
  18. Repeated DNA Sequences (Medium)
  19. Search in Rotated Sorted Array (Medium)
  20. Unique Paths (Medium)
  21. Vowel Spellchecker (Medium)
  22. Word Break (Medium)
  23. Word Search (Medium)
  24. Special Binary String (Hard)
  25. Trapping Rain Water (Hard)
  26. Word Break II (Hard)

Prepare for the rest of the Grammarly process

Other companies