← back

Simulation

188 questions · 0 seen

All Simulation problems

Problems

43 Multiply Strings
54 Spiral Matrix
59 Spiral Matrix II
67 Add Binary
68 Text Justification
258 Add Digits
289 Game of Life
412 Fizz Buzz
415 Add Strings
495 Teemo Attacking
498 Diagonal Traverse
537 Complex Number Multiplication
566 Reshape the Matrix
592 Fraction Addition and Subtraction
640 Solve the Equation
657 Robot Return to Origin
682 Baseball Game
735 Asteroid Collision
749 Contain Virus
832 Flipping an Image
844 Backspace String Compare
867 Transpose Matrix
874 Walking Robot Simulation
885 Spiral Matrix III
946 Validate Stack Sequences
950 Reveal Cards In Increasing Order
985 Sum of Even Numbers After Queries
999 Available Captures for Rook
1006 Clumsy Factorial
1041 Robot Bounded In Circle
1094 Car Pooling
1103 Distribute Candies to People
1222 Queens That Can Attack the King
1252 Cells with Odd Values in a Matrix
1260 Shift 2D Grid
1275 Find Winner on a Tic Tac Toe Game
1324 Print Words Vertically
1389 Create Target Array in the Given Order
1404 Number of Steps to Reduce a Number in Binary Representation to One
1409 Queries on a Permutation With Key
1441 Build an Array With Stack Operations
1503 Last Moment Before All Ants Fall Out of a Plank
1518 Water Bottles
1535 Find the Winner of an Array Game
1545 Find Kth Bit in Nth Binary String
1560 Most Visited Sector in a Circular Track
1562 Find Latest Group of Size M
1583 Count Unhappy Friends
1599 Maximum Profit of Operating a Centennial Wheel
1603 Design Parking System
1606 Find Servers That Handled Most Number of Requests (PRO)
1646 Get Maximum in Generated Array
1680 Concatenation of Consecutive Binary Numbers
1688 Count of Matches in Tournament
1700 Number of Students Unable to Eat Lunch
1701 Average Waiting Time
1706 Where Will the Ball Fall
1719 Number Of Ways To Reconstruct A Tree
1801 Number of Orders in the Backlog
1806 Minimum Number of Operations to Reinitialize a Permutation
1823 Find the Winner of the Circular Game
1860 Incremental Memory Leak
1894 Find the Student that Will Replace the Chalk
1910 Remove All Occurrences of a Substring (PRO)
1914 Cyclically Rotating a Grid (PRO)
1920 Build Array from Permutation (PRO)
1929 Concatenation of Array (PRO)
1945 Sum of Digits of String After Convert
2011 Final Value of Variable After Performing Operations
2022 Convert 1D Array Into 2D Array
2028 Find Missing Observations
2043 Simple Bank System
2056 Number of Valid Move Combinations On Chessboard
2069 Walking Robot Simulation II
2073 Time Needed to Buy Tickets
2075 Decode the Slanted Ciphertext
2079 Watering Plants
2105 Watering Plants II
2109 Adding Spaces to a String
2120 Execution of All Suffix Instructions Staying in a Grid
2138 Divide a String Into Groups of Size k
2149 Rearrange Array Elements by Sign
2154 Keep Multiplying Found Values by Two
2161 Partition Array According to Given Pivot
2169 Count Operations to Obtain Zero
2177 Find Three Consecutive Integers That Sum to a Given Number
2180 Count Integers With Even Digit Sum
2181 Merge Nodes in Between Zeros
2201 Count Artifacts That Can Be Extracted
2211 Count Collisions on a Road
2221 Find Triangular Sum of an Array
2243 Calculate Digit Sum of a String
2257 Count Unguarded Cells in the Grid
2289 Steps to Make Array Non-decreasing
2293 Min Max Game
2295 Replace Elements in an Array
2296 Design a Text Editor
2303 Calculate Amount Paid in Taxes
2326 Spiral Matrix IV
2327 Number of People Aware of a Secret
2352 Equal Row and Column Pairs
2357 Make Array Zero by Subtracting Equal Amounts
2365 Task Scheduler II
2380 Time Needed to Rearrange a Binary String
2390 Removing Stars From a String
2402 Meeting Rooms III
2460 Apply Operations to an Array
2462 Total Cost to Hire K Workers
2482 Difference Between Ones and Zeros in Row and Column
2500 Delete Greatest Value in Each Row
2502 Design Memory Allocator
2507 Smallest Value After Replacing With Sum of Prime Factors
2532 Time to Cross a Bridge
2549 Count Distinct Numbers on Board
2553 Separate the Digits in an Array
2558 Take Gifts From the Richest Pile
2562 Find the Array Concatenation Value
2582 Pass the Pillow
2593 Find Score of an Array After Marking All Elements
2596 Check Knight Tour Configuration
2660 Determine the Winner of a Bowling Game
2679 Sum in a Matrix
2682 Find the Losers of the Circular Game
2696 Minimum String Length After Removing Substrings
2717 Semi-Ordered Permutation
2739 Total Distance Traveled
2744 Find Maximum Number of String Pairs
2751 Robot Collisions
2766 Relocate Marbles
2810 Faulty Keyboard
2899 Last Visited Integers
2946 Matrix Similarity After Cyclic Shifts
2960 Count Tested Devices After Test Operations
2961 Double Modular Exponentiation
2974 Minimum Number Game
3028 Ant on the Boundary
3038 Maximum Number of Operations With the Same Score I
3066 Minimum Operations to Exceed Threshold Value II
3069 Distribute Elements Into Two Arrays I
3072 Distribute Elements Into Two Arrays II
3080 Mark Elements on Array by Performing Queries
3100 Water Bottles II
3160 Find the Number of Distinct Colors Among the Balls
3168 Minimum Number of Chairs in a Waiting Room
3174 Clear Digits
3175 Find The First Player to win K Games in a Row
3178 Find the Child Who Has the Ball After K Seconds
3179 Find the N-th Value After K Seconds
3222 Find the Winning Player in Coin Game
3242 Design Neighbor Sum Service
3248 Snake in Matrix
3264 Final Array State After K Multiplication Operations I
3266 Final Array State After K Multiplication Operations II
3271 Hash Divided String
3304 Find the K-th Character in String Game I
3324 Find the Sequence of Strings Appeared on the Screen
3354 Make Array Elements Equal to Zero
3360 Stone Removal Game
3379 Transformed Array
3412 Find Mirror Score of a String
3417 Zigzag Grid Traversal With Skip
3433 Count Mentions Per User
3461 Check If Digits Are Equal in String After Operations I
3477 Fruits Into Baskets II
3494 Find the Minimum Amount of Time to Brew Potions
3498 Reverse Degree of a String
3507 Minimum Pair Removal to Sort Array I
3510 Minimum Pair Removal to Sort Array II
3522 Calculate Score After Performing Instructions
3561 Resulting String After Adjacent Removals
3582 Generate Tag for Video Caption
3597 Partition String
3612 Process String with Special Operations I
3614 Process String with Special Operations II
3653 XOR After Range Multiplication Queries I
3679 Minimum Discards to Balance Inventory
3688 Bitwise OR of Even Numbers in an Array
3701 Compute Alternating Sum
3703 Remove K-Balanced Substrings
3726 Remove Zeros in Decimal Representation
3775 Reverse Words With Same Vowel Count
3813 Vowel-Consonant Score
3819 Rotate Non Negative Elements
3823 Reverse Letters Then Special Characters in a String
3834 Merge Adjacent Equal Elements
3838 Weighted Word Mapping
3842 Toggle Light Bulbs
3847 Find the Score Difference in a Game