# Simulation DSA Problems

> 177 Simulation coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

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

177 simulation problems for coding interviews and campus placements, with hints and company tags. Below are the first 100 of 177: 72 easy, 13 medium and 15 hard. Practise them free on InternHack and track what you have solved.

## Simulation problems, easiest first

1. [Add Binary](https://www.internhack.in/learn/dsa/problem/add-binary) (Easy)
2. [Add Digits](https://www.internhack.in/learn/dsa/problem/add-digits) (Easy)
3. [Add Strings](https://www.internhack.in/learn/dsa/problem/add-strings) (Easy)
4. [Ant on the Boundary](https://www.internhack.in/learn/dsa/problem/ant-on-the-boundary) (Easy)
5. [Apply Operations to an Array](https://www.internhack.in/learn/dsa/problem/apply-operations-to-an-array) (Easy)
6. [Array Transformation](https://www.internhack.in/learn/dsa/problem/array-transformation) (Easy)
7. [Available Captures for Rook](https://www.internhack.in/learn/dsa/problem/available-captures-for-rook) (Easy)
8. [Backspace String Compare](https://www.internhack.in/learn/dsa/problem/backspace-string-compare) (Easy)
9. [Baseball Game](https://www.internhack.in/learn/dsa/problem/baseball-game) (Easy)
10. [Bitwise OR of Even Numbers in an Array](https://www.internhack.in/learn/dsa/problem/bitwise-or-of-even-numbers-in-an-array) (Easy)
11. [Build Array from Permutation](https://www.internhack.in/learn/dsa/problem/build-array-from-permutation) (Easy)
12. [Calculate Amount Paid in Taxes](https://www.internhack.in/learn/dsa/problem/calculate-amount-paid-in-taxes) (Easy)
13. [Calculate Digit Sum of a String](https://www.internhack.in/learn/dsa/problem/calculate-digit-sum-of-a-string) (Easy)
14. [Cells with Odd Values in a Matrix](https://www.internhack.in/learn/dsa/problem/cells-with-odd-values-in-a-matrix) (Easy)
15. [Check If Digits Are Equal in String After Operations I](https://www.internhack.in/learn/dsa/problem/check-if-digits-are-equal-in-string-after-operations-i) (Easy)
16. [Clear Digits](https://www.internhack.in/learn/dsa/problem/clear-digits) (Easy)
17. [Concatenation of Array](https://www.internhack.in/learn/dsa/problem/concatenation-of-array) (Easy)
18. [Convert 1D Array Into 2D Array](https://www.internhack.in/learn/dsa/problem/convert-1d-array-into-2d-array) (Easy)
19. [Count Distinct Numbers on Board](https://www.internhack.in/learn/dsa/problem/count-distinct-numbers-on-board) (Easy)
20. [Count Integers With Even Digit Sum](https://www.internhack.in/learn/dsa/problem/count-integers-with-even-digit-sum) (Easy)
21. [Count of Matches in Tournament](https://www.internhack.in/learn/dsa/problem/count-of-matches-in-tournament) (Easy)
22. [Count Operations to Obtain Zero](https://www.internhack.in/learn/dsa/problem/count-operations-to-obtain-zero) (Easy)
23. [Count Tested Devices After Test Operations](https://www.internhack.in/learn/dsa/problem/count-tested-devices-after-test-operations) (Easy)
24. [Create Target Array in the Given Order](https://www.internhack.in/learn/dsa/problem/create-target-array-in-the-given-order) (Easy)
25. [Delete Greatest Value in Each Row](https://www.internhack.in/learn/dsa/problem/delete-greatest-value-in-each-row) (Easy)
26. [Design Parking System](https://www.internhack.in/learn/dsa/problem/design-parking-system) (Easy)
27. [Determine the Winner of a Bowling Game](https://www.internhack.in/learn/dsa/problem/determine-the-winner-of-a-bowling-game) (Easy)
28. [Distribute Candies to People](https://www.internhack.in/learn/dsa/problem/distribute-candies-to-people) (Easy)
29. [Distribute Elements Into Two Arrays I](https://www.internhack.in/learn/dsa/problem/distribute-elements-into-two-arrays-i) (Easy)
30. [Divide a String Into Groups of Size k](https://www.internhack.in/learn/dsa/problem/divide-a-string-into-groups-of-size-k) (Easy)
31. [Faulty Keyboard](https://www.internhack.in/learn/dsa/problem/faulty-keyboard) (Easy)
32. [Final Array State After K Multiplication Operations I](https://www.internhack.in/learn/dsa/problem/final-array-state-after-k-multiplication-operations-i) (Easy)
33. [Final Value of Variable After Performing Operations](https://www.internhack.in/learn/dsa/problem/final-value-of-variable-after-performing-operations) (Easy)
34. [Find the Array Concatenation Value](https://www.internhack.in/learn/dsa/problem/find-the-array-concatenation-value) (Easy)
35. [Find the Child Who Has the Ball After K Seconds](https://www.internhack.in/learn/dsa/problem/find-the-child-who-has-the-ball-after-k-seconds) (Easy)
36. [Find the K-th Character in String Game I](https://www.internhack.in/learn/dsa/problem/find-the-k-th-character-in-string-game-i) (Easy)
37. [Find the Winning Player in Coin Game](https://www.internhack.in/learn/dsa/problem/find-the-winning-player-in-coin-game) (Easy)
38. [Find Winner on a Tic Tac Toe Game](https://www.internhack.in/learn/dsa/problem/find-winner-on-a-tic-tac-toe-game) (Easy)
39. [Fizz Buzz](https://www.internhack.in/learn/dsa/problem/fizz-buzz) (Easy)
40. [Flipping an Image](https://www.internhack.in/learn/dsa/problem/flipping-an-image) (Easy)
41. [Fruits Into Baskets II](https://www.internhack.in/learn/dsa/problem/fruits-into-baskets-ii) (Easy)
42. [Generate Tag for Video Caption](https://www.internhack.in/learn/dsa/problem/generate-tag-for-video-caption) (Easy)
43. [Get Maximum in Generated Array](https://www.internhack.in/learn/dsa/problem/get-maximum-in-generated-array) (Easy)
44. [Keep Multiplying Found Values by Two](https://www.internhack.in/learn/dsa/problem/keep-multiplying-found-values-by-two) (Easy)
45. [Make Array Elements Equal to Zero](https://www.internhack.in/learn/dsa/problem/make-array-elements-equal-to-zero) (Easy)
46. [Make Array Zero by Subtracting Equal Amounts](https://www.internhack.in/learn/dsa/problem/make-array-zero-by-subtracting-equal-amounts) (Easy)
47. [Matrix Similarity After Cyclic Shifts](https://www.internhack.in/learn/dsa/problem/matrix-similarity-after-cyclic-shifts) (Easy)
48. [Maximum Number of Operations With the Same Score I](https://www.internhack.in/learn/dsa/problem/maximum-number-of-operations-with-the-same-score-i) (Easy)
49. [Min Max Game](https://www.internhack.in/learn/dsa/problem/min-max-game) (Easy)
50. [Minimum Number Game](https://www.internhack.in/learn/dsa/problem/minimum-number-game) (Easy)
51. [Minimum Number of Chairs in a Waiting Room](https://www.internhack.in/learn/dsa/problem/minimum-number-of-chairs-in-a-waiting-room) (Easy)
52. [Minimum Pair Removal to Sort Array I](https://www.internhack.in/learn/dsa/problem/minimum-pair-removal-to-sort-array-i) (Easy)
53. [Minimum String Length After Removing Substrings](https://www.internhack.in/learn/dsa/problem/minimum-string-length-after-removing-substrings) (Easy)
54. [Most Visited Sector in a Circular Track](https://www.internhack.in/learn/dsa/problem/most-visited-sector-in-a-circular-track) (Easy)
55. [Number of Students Unable to Eat Lunch](https://www.internhack.in/learn/dsa/problem/number-of-students-unable-to-eat-lunch) (Easy)
56. [Pass the Pillow](https://www.internhack.in/learn/dsa/problem/pass-the-pillow) (Easy)
57. [Read N Characters Given Read4](https://www.internhack.in/learn/dsa/problem/read-n-characters-given-read4) (Easy)
58. [Reshape the Matrix](https://www.internhack.in/learn/dsa/problem/reshape-the-matrix) (Easy)
59. [Reverse Degree of a String](https://www.internhack.in/learn/dsa/problem/reverse-degree-of-a-string) (Easy)
60. [Robot Return to Origin](https://www.internhack.in/learn/dsa/problem/robot-return-to-origin) (Easy)
61. [Separate the Digits in an Array](https://www.internhack.in/learn/dsa/problem/separate-the-digits-in-an-array) (Easy)
62. [Shift 2D Grid](https://www.internhack.in/learn/dsa/problem/shift-2d-grid) (Easy)
63. [Snake in Matrix](https://www.internhack.in/learn/dsa/problem/snake-in-matrix) (Easy)
64. [Sum of Digits of String After Convert](https://www.internhack.in/learn/dsa/problem/sum-of-digits-of-string-after-convert) (Easy)
65. [Take Gifts From the Richest Pile](https://www.internhack.in/learn/dsa/problem/take-gifts-from-the-richest-pile) (Easy)
66. [Teemo Attacking](https://www.internhack.in/learn/dsa/problem/teemo-attacking) (Easy)
67. [Time Needed to Buy Tickets](https://www.internhack.in/learn/dsa/problem/time-needed-to-buy-tickets) (Easy)
68. [Total Distance Traveled](https://www.internhack.in/learn/dsa/problem/total-distance-traveled) (Easy)
69. [Transformed Array](https://www.internhack.in/learn/dsa/problem/transformed-array) (Easy)
70. [Transpose Matrix](https://www.internhack.in/learn/dsa/problem/transpose-matrix) (Easy)
71. [Water Bottles](https://www.internhack.in/learn/dsa/problem/water-bottles) (Easy)
72. [Zigzag Grid Traversal With Skip](https://www.internhack.in/learn/dsa/problem/zigzag-grid-traversal-with-skip) (Easy)
73. [Adding Spaces to a String](https://www.internhack.in/learn/dsa/problem/adding-spaces-to-a-string) (Medium)
74. [Asteroid Collision](https://www.internhack.in/learn/dsa/problem/asteroid-collision) (Medium)
75. [Average Waiting Time](https://www.internhack.in/learn/dsa/problem/average-waiting-time) (Medium)
76. [Build an Array With Stack Operations](https://www.internhack.in/learn/dsa/problem/build-an-array-with-stack-operations) (Medium)
77. [Calculate Score After Performing Instructions](https://www.internhack.in/learn/dsa/problem/calculate-score-after-performing-instructions) (Medium)
78. [Candy Crush](https://www.internhack.in/learn/dsa/problem/candy-crush) (Medium)
79. [Car Pooling](https://www.internhack.in/learn/dsa/problem/car-pooling) (Medium)
80. [Check Knight Tour Configuration](https://www.internhack.in/learn/dsa/problem/check-knight-tour-configuration) (Medium)
81. [Clumsy Factorial](https://www.internhack.in/learn/dsa/problem/clumsy-factorial) (Medium)
82. [Complex Number Multiplication](https://www.internhack.in/learn/dsa/problem/complex-number-multiplication) (Medium)
83. [Concatenation of Consecutive Binary Numbers](https://www.internhack.in/learn/dsa/problem/concatenation-of-consecutive-binary-numbers) (Medium)
84. [Count Collisions on a Road](https://www.internhack.in/learn/dsa/problem/count-collisions-on-a-road) (Medium)
85. [Count Mentions Per User](https://www.internhack.in/learn/dsa/problem/count-mentions-per-user) (Medium)
86. [Contain Virus](https://www.internhack.in/learn/dsa/problem/contain-virus) (Hard)
87. [Design a Text Editor](https://www.internhack.in/learn/dsa/problem/design-a-text-editor) (Hard)
88. [Distribute Elements Into Two Arrays II](https://www.internhack.in/learn/dsa/problem/distribute-elements-into-two-arrays-ii) (Hard)
89. [Final Array State After K Multiplication Operations II](https://www.internhack.in/learn/dsa/problem/final-array-state-after-k-multiplication-operations-ii) (Hard)
90. [Find Servers That Handled Most Number of Requests](https://www.internhack.in/learn/dsa/problem/find-servers-that-handled-most-number-of-requests) (Hard)
91. [Meeting Rooms III](https://www.internhack.in/learn/dsa/problem/meeting-rooms-iii) (Hard)
92. [Minimum Pair Removal to Sort Array II](https://www.internhack.in/learn/dsa/problem/minimum-pair-removal-to-sort-array-ii) (Hard)
93. [Number of Valid Move Combinations On Chessboard](https://www.internhack.in/learn/dsa/problem/number-of-valid-move-combinations-on-chessboard) (Hard)
94. [Number Of Ways To Reconstruct A Tree](https://www.internhack.in/learn/dsa/problem/number-of-ways-to-reconstruct-a-tree) (Hard)
95. [Process String with Special Operations II](https://www.internhack.in/learn/dsa/problem/process-string-with-special-operations-ii) (Hard)
96. [Read N Characters Given read4 II - Call Multiple Times](https://www.internhack.in/learn/dsa/problem/read-n-characters-given-read4-ii-call-multiple-times) (Hard)
97. [Robot Collisions](https://www.internhack.in/learn/dsa/problem/robot-collisions) (Hard)
98. [Text Justification](https://www.internhack.in/learn/dsa/problem/text-justification) (Hard)
99. [Time Taken to Cross the Door](https://www.internhack.in/learn/dsa/problem/time-taken-to-cross-the-door) (Hard)
100. [Time to Cross a Bridge](https://www.internhack.in/learn/dsa/problem/time-to-cross-a-bridge) (Hard)

## Companies that ask simulation problems

- [Google](https://www.internhack.in/learn/dsa/companies/google): 69 of these problems
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 60 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 50 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 45 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 42 of these problems
- [Uber](https://www.internhack.in/learn/dsa/companies/uber): 13 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 10 of these problems
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle): 10 of these problems
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs): 9 of these problems
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm): 8 of these problems
- [Visa](https://www.internhack.in/learn/dsa/companies/visa): 7 of these problems
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs): 6 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)
- [Stack](https://www.internhack.in/learn/dsa/stack) (167)

## Related

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