Tag: simulation
- Add Binary
- Add Digits
- Add Strings
- Adding Spaces to a String
- Alt and Tab Simulation
- Ant on the Boundary
- Apply Operations to an Array
- Array Transformation
- Asteroid Collision
- Available Captures for Rook
- Average Waiting Time
- Backspace String Compare
- Baseball Game
- Build an Array With Stack Operations
- Build Array from Permutation
- Calculate Amount Paid in Taxes
- Calculate Digit Sum of a String
- Candy Crush
- Car Pooling
- Cells with Odd Values in a Matrix
- Check If Digits Are Equal in String After Operations I
- Check Knight Tour Configuration
- Clear Digits
- Clumsy Factorial
- Complex Number Multiplication
- Concatenation of Array
- Concatenation of Consecutive Binary Numbers
- Contain Virus
- Convert 1D Array Into 2D Array
- Count Artifacts That Can Be Extracted
- Count Collisions on a Road
- Count Distinct Numbers on Board
- Count Integers With Even Digit Sum
- Count Mentions Per User
- Count of Matches in Tournament
- Count Operations to Obtain Zero
- Count Tested Devices After Test Operations
- Count Unguarded Cells in the Grid
- Count Unhappy Friends
- Create Target Array in the Given Order
- Cyclically Rotating a Grid
- Decode the Slanted Ciphertext
- Delete Greatest Value in Each Row
- Design a Text Editor
- Design Memory Allocator
- Design Neighbor Sum Service
- Design Parking System
- Design Snake Game
- Design Tic-Tac-Toe
- Determine the Winner of a Bowling Game
- Diagonal Traverse
- Difference Between Ones and Zeros in Row and Column
- Distribute Candies to People
- Distribute Elements Into Two Arrays I
- Distribute Elements Into Two Arrays II
- Divide a String Into Groups of Size k
- Double Modular Exponentiation
- Equal Row and Column Pairs
- Execution of All Suffix Instructions Staying in a Grid
- Faulty Keyboard
- Final Array State After K Multiplication Operations I
- Final Array State After K Multiplication Operations II
- Final Value of Variable After Performing Operations
- Find Kth Bit in Nth Binary String
- Find Latest Group of Size M
- Find Maximum Number of String Pairs
- Find Mirror Score of a String
- Find Missing Observations
- Find Score of an Array After Marking All Elements
- Find the Array Concatenation Value
- Find the Child Who Has the Ball After K Seconds
- Find The First Player to win K Games in a Row
- Find the K-th Character in String Game I
- Find the Losers of the Circular Game
- Find the Minimum Amount of Time to Brew Potions
- Find the N-th Value After K Seconds
- Find the Number of Distinct Colors Among the Balls
- Find the Sequence of Strings Appeared on the Screen
- Find the Student that Will Replace the Chalk
- Find the Winner of an Array Game
- Find the Winner of the Circular Game
- Find the Winning Player in Coin Game
- Find Three Consecutive Integers That Sum to a Given Number
- Find Triangular Sum of an Array
- Find Winner on a Tic Tac Toe Game
- Fizz Buzz
- Flipping an Image
- Fraction Addition and Subtraction
- Fruits Into Baskets II
- Game of Life
- Get Maximum in Generated Array
- Hash Divided String
- Incremental Memory Leak
- Keep Multiplying Found Values by Two
- Last Moment Before All Ants Fall Out of a Plank
- Last Visited Integers
- Make Array Elements Equal to Zero
- Make Array Zero by Subtracting Equal Amounts
- Mark Elements on Array by Performing Queries
- Matrix Similarity After Cyclic Shifts
- Maximum Number of Matching Indices After Right Shifts
- Maximum Number of Operations With the Same Score I
- Maximum Profit of Operating a Centennial Wheel
- Maximum Total Area Occupied by Pistons
- Meeting Rooms III
- Merge Nodes in Between Zeros
- Min Max Game
- Minimum Number Game
- Minimum Number of Chairs in a Waiting Room
- Minimum Number of Operations to Reinitialize a Permutation
- Minimum Operations to Exceed Threshold Value II
- Minimum String Length After Removing Substrings
- Most Visited Sector in a Circular Track
- Multiply Strings
- Number of Orders in the Backlog
- Number of People Aware of a Secret
- Number of Spaces Cleaning Robot Cleaned
- Number of Students Unable to Eat Lunch
- Number of Valid Move Combinations On Chessboard
- Output Contest Matches
- Partition Array According to Given Pivot
- Pass the Pillow
- Pour Water
- Print Words Vertically
- Queens That Can Attack the King
- Queries on a Permutation With Key
- Read N Characters Given read4 II - Call Multiple Times
- Read N Characters Given Read4
- Rearrange Array Elements by Sign
- Relocate Marbles
- Remove All Occurrences of a Substring
- Removing Stars From a String
- Replace Elements in an Array
- Reshape the Matrix
- Reveal Cards In Increasing Order
- Reverse Degree of a String
- Robot Bounded In Circle
- Robot Collisions
- Robot Return to Origin
- Semi-Ordered Permutation
- Separate the Digits in an Array
- Shift 2D Grid
- Simple Bank System
- Smallest Value After Replacing With Sum of Prime Factors
- Snake in Matrix
- Solve the Equation
- Spiral Matrix II
- Spiral Matrix III
- Spiral Matrix IV
- Spiral Matrix
- Stone Removal Game
- Sum in a Matrix
- Sum of Digits of String After Convert
- Sum of Even Numbers After Queries
- Take Gifts From the Richest Pile
- Task Scheduler II
- Teemo Attacking
- Text Justification
- Time Needed to Buy Tickets
- Time Needed to Rearrange a Binary String
- Time Taken to Cross the Door
- Time to Cross a Bridge
- Total Cost to Hire K Workers
- Total Distance Traveled
- Transformed Array
- Transpose Matrix
- Validate Stack Sequences
- Walking Robot Simulation II
- Walking Robot Simulation
- Water Bottles II
- Water Bottles
- Watering Plants II
- Watering Plants
- Where Will the Ball Fall
- Zigzag Grid Traversal With Skip