Snowflake Coding Interview Questions

104 DSA problems tagged as asked in Snowflake coding interviews and online assessments. Below are the first 100 of 104: 12 easy, 62 medium and 26 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Snowflake DSA problems, easiest first

  1. Best Time to Buy and Sell Stock (Easy)
  2. Calculate Amount Paid in Taxes (Easy)
  3. Count Vowel Substrings of a String (Easy)
  4. Design HashMap (Easy)
  5. Happy Number (Easy)
  6. Leaf-Similar Trees (Easy)
  7. Merge Two Sorted Lists (Easy)
  8. Reverse Only Letters (Easy)
  9. Roman to Integer (Easy)
  10. Shortest Word Distance (Easy)
  11. Two Sum (Easy)
  12. Valid Word Abbreviation (Easy)
  13. Add Two Numbers (Medium)
  14. Alert Using Same Key-Card Three or More Times in a One Hour Period (Medium)
  15. Basic Calculator II (Medium)
  16. Boats to Save People (Medium)
  17. Boundary of Binary Tree (Medium)
  18. Campus Bikes (Medium)
  19. Cheapest Flights Within K Stops (Medium)
  20. Container With Most Water (Medium)
  21. Copy List with Random Pointer (Medium)
  22. Count Nodes Equal to Average of Subtree (Medium)
  23. Course Schedule (Medium)
  24. Course Schedule II (Medium)
  25. Design Add and Search Words Data Structure (Medium)
  26. Design Circular Queue (Medium)
  27. Design File System (Medium)
  28. Design Hit Counter (Medium)
  29. Design Log Storage System (Medium)
  30. Evaluate Division (Medium)
  31. Find All Anagrams in a String (Medium)
  32. Find the Maximum Length of a Good Subsequence I (Medium)
  33. Implement Trie (Prefix Tree) (Medium)
  34. Insert Delete GetRandom O(1) (Medium)
  35. Jump Game II (Medium)
  36. Keys and Rooms (Medium)
  37. Longest Univalue Path (Medium)
  38. LRU Cache (Medium)
  39. Max Area of Island (Medium)
  40. Maximize Distance to Closest Person (Medium)
  41. Maximum Number of Events That Can Be Attended (Medium)
  42. Maximum Number of Removable Characters (Medium)
  43. Maximum Number of Upgradable Servers (Medium)
  44. Min Stack (Medium)
  45. Minimum Array Length After Pair Removals (Medium)
  46. Most Profitable Path in a Tree (Medium)
  47. Most Stones Removed with Same Row or Column (Medium)
  48. My Calendar I (Medium)
  49. Non-overlapping Intervals (Medium)
  50. Paint Fence (Medium)
  51. Parallel Courses (Medium)
  52. Path With Minimum Effort (Medium)
  53. Populating Next Right Pointers in Each Node (Medium)
  54. Populating Next Right Pointers in Each Node II (Medium)
  55. Random Pick with Weight (Medium)
  56. Remove K Digits (Medium)
  57. Remove Sub-Folders from the Filesystem (Medium)
  58. Rotting Oranges (Medium)
  59. Simplify Path (Medium)
  60. Single Element in a Sorted Array (Medium)
  61. Snapshot Array (Medium)
  62. Step-By-Step Directions From a Binary Tree Node to Another (Medium)
  63. Swap Nodes in Pairs (Medium)
  64. Task Scheduler (Medium)
  65. The Maze (Medium)
  66. Throne Inheritance (Medium)
  67. Time Based Key-Value Store (Medium)
  68. Top K Frequent Elements (Medium)
  69. Valid Sudoku (Medium)
  70. Walls and Gates (Medium)
  71. Web Crawler (Medium)
  72. Web Crawler Multithreaded (Medium)
  73. Word Break (Medium)
  74. Word Search (Medium)
  75. Basic Calculator (Hard)
  76. Cherry Pickup (Hard)
  77. Design In-Memory File System (Hard)
  78. Find Median from Data Stream (Hard)
  79. Find the Maximum Length of a Good Subsequence II (Hard)
  80. Height of Binary Tree After Subtree Removal Queries (Hard)
  81. Integer to English Words (Hard)
  82. Making A Large Island (Hard)
  83. Maximum Number of Events That Can Be Attended II (Hard)
  84. Maximum Profit in Job Scheduling (Hard)
  85. Merge k Sorted Lists (Hard)
  86. Minimum Operations to Make Numbers Non-positive (Hard)
  87. Minimum Window Substring (Hard)
  88. N-Queens (Hard)
  89. N-Queens II (Hard)
  90. Number of Ways to Form a Target String Given a Dictionary (Hard)
  91. Painting the Walls (Hard)
  92. Parallel Courses II (Hard)
  93. Parallel Courses III (Hard)
  94. Patching Array (Hard)
  95. Regular Expression Matching (Hard)
  96. Remove Invalid Parentheses (Hard)
  97. Reverse Nodes in k-Group (Hard)
  98. String Transformation (Hard)
  99. Trapping Rain Water (Hard)
  100. Word Search II (Hard)

Prepare for the rest of the Snowflake process

Other companies