# Snowflake Coding Interview Questions

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

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

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](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
2. [Calculate Amount Paid in Taxes](https://www.internhack.in/learn/dsa/problem/calculate-amount-paid-in-taxes) (Easy)
3. [Count Vowel Substrings of a String](https://www.internhack.in/learn/dsa/problem/count-vowel-substrings-of-a-string) (Easy)
4. [Design HashMap](https://www.internhack.in/learn/dsa/problem/design-hashmap) (Easy)
5. [Happy Number](https://www.internhack.in/learn/dsa/problem/happy-number) (Easy)
6. [Leaf-Similar Trees](https://www.internhack.in/learn/dsa/problem/leaf-similar-trees) (Easy)
7. [Merge Two Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-two-sorted-lists) (Easy)
8. [Reverse Only Letters](https://www.internhack.in/learn/dsa/problem/reverse-only-letters) (Easy)
9. [Roman to Integer](https://www.internhack.in/learn/dsa/problem/roman-to-integer) (Easy)
10. [Shortest Word Distance](https://www.internhack.in/learn/dsa/problem/shortest-word-distance) (Easy)
11. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
12. [Valid Word Abbreviation](https://www.internhack.in/learn/dsa/problem/valid-word-abbreviation) (Easy)
13. [Add Two Numbers](https://www.internhack.in/learn/dsa/problem/add-two-numbers) (Medium)
14. [Alert Using Same Key-Card Three or More Times in a One Hour Period](https://www.internhack.in/learn/dsa/problem/alert-using-same-key-card-three-or-more-times-in-a-one-hour-period) (Medium)
15. [Basic Calculator II](https://www.internhack.in/learn/dsa/problem/basic-calculator-ii) (Medium)
16. [Boats to Save People](https://www.internhack.in/learn/dsa/problem/boats-to-save-people) (Medium)
17. [Boundary of Binary Tree](https://www.internhack.in/learn/dsa/problem/boundary-of-binary-tree) (Medium)
18. [Campus Bikes](https://www.internhack.in/learn/dsa/problem/campus-bikes) (Medium)
19. [Cheapest Flights Within K Stops](https://www.internhack.in/learn/dsa/problem/cheapest-flights-within-k-stops) (Medium)
20. [Container With Most Water](https://www.internhack.in/learn/dsa/problem/container-with-most-water) (Medium)
21. [Copy List with Random Pointer](https://www.internhack.in/learn/dsa/problem/copy-list-with-random-pointer) (Medium)
22. [Count Nodes Equal to Average of Subtree](https://www.internhack.in/learn/dsa/problem/count-nodes-equal-to-average-of-subtree) (Medium)
23. [Course Schedule](https://www.internhack.in/learn/dsa/problem/course-schedule) (Medium)
24. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
25. [Design Add and Search Words Data Structure](https://www.internhack.in/learn/dsa/problem/design-add-and-search-words-data-structure) (Medium)
26. [Design Circular Queue](https://www.internhack.in/learn/dsa/problem/design-circular-queue) (Medium)
27. [Design File System](https://www.internhack.in/learn/dsa/problem/design-file-system) (Medium)
28. [Design Hit Counter](https://www.internhack.in/learn/dsa/problem/design-hit-counter) (Medium)
29. [Design Log Storage System](https://www.internhack.in/learn/dsa/problem/design-log-storage-system) (Medium)
30. [Evaluate Division](https://www.internhack.in/learn/dsa/problem/evaluate-division) (Medium)
31. [Find All Anagrams in a String](https://www.internhack.in/learn/dsa/problem/find-all-anagrams-in-a-string) (Medium)
32. [Find the Maximum Length of a Good Subsequence I](https://www.internhack.in/learn/dsa/problem/find-the-maximum-length-of-a-good-subsequence-i) (Medium)
33. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
34. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
35. [Jump Game II](https://www.internhack.in/learn/dsa/problem/jump-game-ii) (Medium)
36. [Keys and Rooms](https://www.internhack.in/learn/dsa/problem/keys-and-rooms) (Medium)
37. [Longest Univalue Path](https://www.internhack.in/learn/dsa/problem/longest-univalue-path) (Medium)
38. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
39. [Max Area of Island](https://www.internhack.in/learn/dsa/problem/max-area-of-island) (Medium)
40. [Maximize Distance to Closest Person](https://www.internhack.in/learn/dsa/problem/maximize-distance-to-closest-person) (Medium)
41. [Maximum Number of Events That Can Be Attended](https://www.internhack.in/learn/dsa/problem/maximum-number-of-events-that-can-be-attended) (Medium)
42. [Maximum Number of Removable Characters](https://www.internhack.in/learn/dsa/problem/maximum-number-of-removable-characters) (Medium)
43. [Maximum Number of Upgradable Servers](https://www.internhack.in/learn/dsa/problem/maximum-number-of-upgradable-servers) (Medium)
44. [Min Stack](https://www.internhack.in/learn/dsa/problem/min-stack) (Medium)
45. [Minimum Array Length After Pair Removals](https://www.internhack.in/learn/dsa/problem/minimum-array-length-after-pair-removals) (Medium)
46. [Most Profitable Path in a Tree](https://www.internhack.in/learn/dsa/problem/most-profitable-path-in-a-tree) (Medium)
47. [Most Stones Removed with Same Row or Column](https://www.internhack.in/learn/dsa/problem/most-stones-removed-with-same-row-or-column) (Medium)
48. [My Calendar I](https://www.internhack.in/learn/dsa/problem/my-calendar-i) (Medium)
49. [Non-overlapping Intervals](https://www.internhack.in/learn/dsa/problem/non-overlapping-intervals) (Medium)
50. [Paint Fence](https://www.internhack.in/learn/dsa/problem/paint-fence) (Medium)
51. [Parallel Courses](https://www.internhack.in/learn/dsa/problem/parallel-courses) (Medium)
52. [Path With Minimum Effort](https://www.internhack.in/learn/dsa/problem/path-with-minimum-effort) (Medium)
53. [Populating Next Right Pointers in Each Node](https://www.internhack.in/learn/dsa/problem/populating-next-right-pointers-in-each-node) (Medium)
54. [Populating Next Right Pointers in Each Node II](https://www.internhack.in/learn/dsa/problem/populating-next-right-pointers-in-each-node-ii) (Medium)
55. [Random Pick with Weight](https://www.internhack.in/learn/dsa/problem/random-pick-with-weight) (Medium)
56. [Remove K Digits](https://www.internhack.in/learn/dsa/problem/remove-k-digits) (Medium)
57. [Remove Sub-Folders from the Filesystem](https://www.internhack.in/learn/dsa/problem/remove-sub-folders-from-the-filesystem) (Medium)
58. [Rotting Oranges](https://www.internhack.in/learn/dsa/problem/rotting-oranges) (Medium)
59. [Simplify Path](https://www.internhack.in/learn/dsa/problem/simplify-path) (Medium)
60. [Single Element in a Sorted Array](https://www.internhack.in/learn/dsa/problem/single-element-in-a-sorted-array) (Medium)
61. [Snapshot Array](https://www.internhack.in/learn/dsa/problem/snapshot-array) (Medium)
62. [Step-By-Step Directions From a Binary Tree Node to Another](https://www.internhack.in/learn/dsa/problem/step-by-step-directions-from-a-binary-tree-node-to-another) (Medium)
63. [Swap Nodes in Pairs](https://www.internhack.in/learn/dsa/problem/swap-nodes-in-pairs) (Medium)
64. [Task Scheduler](https://www.internhack.in/learn/dsa/problem/task-scheduler) (Medium)
65. [The Maze](https://www.internhack.in/learn/dsa/problem/the-maze) (Medium)
66. [Throne Inheritance](https://www.internhack.in/learn/dsa/problem/throne-inheritance) (Medium)
67. [Time Based Key-Value Store](https://www.internhack.in/learn/dsa/problem/time-based-key-value-store) (Medium)
68. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
69. [Valid Sudoku](https://www.internhack.in/learn/dsa/problem/valid-sudoku) (Medium)
70. [Walls and Gates](https://www.internhack.in/learn/dsa/problem/walls-and-gates) (Medium)
71. [Web Crawler](https://www.internhack.in/learn/dsa/problem/web-crawler) (Medium)
72. [Web Crawler Multithreaded](https://www.internhack.in/learn/dsa/problem/web-crawler-multithreaded) (Medium)
73. [Word Break](https://www.internhack.in/learn/dsa/problem/word-break) (Medium)
74. [Word Search](https://www.internhack.in/learn/dsa/problem/word-search) (Medium)
75. [Basic Calculator](https://www.internhack.in/learn/dsa/problem/basic-calculator) (Hard)
76. [Cherry Pickup](https://www.internhack.in/learn/dsa/problem/cherry-pickup) (Hard)
77. [Design In-Memory File System](https://www.internhack.in/learn/dsa/problem/design-in-memory-file-system) (Hard)
78. [Find Median from Data Stream](https://www.internhack.in/learn/dsa/problem/find-median-from-data-stream) (Hard)
79. [Find the Maximum Length of a Good Subsequence II](https://www.internhack.in/learn/dsa/problem/find-the-maximum-length-of-a-good-subsequence-ii) (Hard)
80. [Height of Binary Tree After Subtree Removal Queries](https://www.internhack.in/learn/dsa/problem/height-of-binary-tree-after-subtree-removal-queries) (Hard)
81. [Integer to English Words](https://www.internhack.in/learn/dsa/problem/integer-to-english-words) (Hard)
82. [Making A Large Island](https://www.internhack.in/learn/dsa/problem/making-a-large-island) (Hard)
83. [Maximum Number of Events That Can Be Attended II](https://www.internhack.in/learn/dsa/problem/maximum-number-of-events-that-can-be-attended-ii) (Hard)
84. [Maximum Profit in Job Scheduling](https://www.internhack.in/learn/dsa/problem/maximum-profit-in-job-scheduling) (Hard)
85. [Merge k Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-k-sorted-lists) (Hard)
86. [Minimum Operations to Make Numbers Non-positive](https://www.internhack.in/learn/dsa/problem/minimum-operations-to-make-numbers-non-positive) (Hard)
87. [Minimum Window Substring](https://www.internhack.in/learn/dsa/problem/minimum-window-substring) (Hard)
88. [N-Queens](https://www.internhack.in/learn/dsa/problem/n-queens) (Hard)
89. [N-Queens II](https://www.internhack.in/learn/dsa/problem/n-queens-ii) (Hard)
90. [Number of Ways to Form a Target String Given a Dictionary](https://www.internhack.in/learn/dsa/problem/number-of-ways-to-form-a-target-string-given-a-dictionary) (Hard)
91. [Painting the Walls](https://www.internhack.in/learn/dsa/problem/painting-the-walls) (Hard)
92. [Parallel Courses II](https://www.internhack.in/learn/dsa/problem/parallel-courses-ii) (Hard)
93. [Parallel Courses III](https://www.internhack.in/learn/dsa/problem/parallel-courses-iii) (Hard)
94. [Patching Array](https://www.internhack.in/learn/dsa/problem/patching-array) (Hard)
95. [Regular Expression Matching](https://www.internhack.in/learn/dsa/problem/regular-expression-matching) (Hard)
96. [Remove Invalid Parentheses](https://www.internhack.in/learn/dsa/problem/remove-invalid-parentheses) (Hard)
97. [Reverse Nodes in k-Group](https://www.internhack.in/learn/dsa/problem/reverse-nodes-in-k-group) (Hard)
98. [String Transformation](https://www.internhack.in/learn/dsa/problem/string-transformation) (Hard)
99. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)
100. [Word Search II](https://www.internhack.in/learn/dsa/problem/word-search-ii) (Hard)

## Prepare for the rest of the Snowflake 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)
