In this repo I am uploading my solutions for 6Companies30Days Challenge by Arsh Goyal
Microsoft
- Evaluate Reverse Polish Notation ✅
- Combination Sum III ✅
- Bulls and Cows ✅
- Rotate Function ✅
- Largest Divisible Subset
- Perfect Rectangle ✅
- Course Schedule
- Most Profitable Path in a Tree
- Number of Pairs Satisfying Inequality
- Shortest Unsorted Continuous Subarray ✅
- Number of Ways to Arrive at Destination
- Longest Happy Prefix
- Airplane Seat Assignment Probability ✅
- Minimum Deletions to Make Array Divisible
- Number of Substrings Containing All Three Characters ✅
Goldman Sachs
- Max Points on a Line ✅
- Valid Square ✅
- Factorial Trailing Zeroes ✅
- Number of Boomerangs ✅
- Split Array into Consecutive Subsequences ✅
- Minimum Consecutive Cards to Pick Up ✅
- Count Good Triplets in an Array
- Maximum Points in an Archery Competition
- IPO ✅
- Number of People Aware of a Secret
- Invalid Transactions ✅
- All Elements in Two Binary Search Trees ✅
- Get Biggest Three Rhombus Sums in a Grid
- Count Nice Pairs in an Array ✅
- Maximum Good People Based on Statements
Adobe
- Fraction to Recurring Decimal
- Increasing Triplet Subsequence
- K-th Smallest in Lexicographical Order
- Magical String
- Non-negative Integers without Consecutive Ones
- Knight Probability in Chessboard
- Number of Matching Subsequences
- Minimum Genetic Mutation
- Count Nodes Equal to Average of Subtree
- Maximum Matrix Sum
- Stock Price Fluctuation
- Shortest Unsorted Continuous Subarray
- Dungeon Game
- Number of People Aware of a Secret
- Query Kth Smallest Trimmed Number
Flipkart
- Partition to K Equal Sum Subsets
- Shopping Offers
- Remove Zero Sum Consecutive Nodes from Linked List
- Find the Winner of the Circular Game
- Find in Mountain Array
- Number of ways to separate Numbers
- Find the City With the Smallest Number of Neighbors at a Threshold Distance
- Closest Prime Numbers in Range
- Top K Frequent Words
- Distant Barcodes
- New 21 Game
- Check If a String Contains All Binary Codes of Size K
- Max Area of Island
- Custom Sort String
- House Robber III - Very Imp
- Maximum Consecutive Floors Without Special Floors
- Maximum Good People Based on Statements
- Sort an Array
- Fruit Into Baskets
- Number of Closed Islands
- Distinct Echo Substrings
- K Divisible Elements Subarrays
- Random Pick with Weight
- Maximum Number of Coins You Can Get
- Network Delay Time
- Matrix Block Sum
- Restore IP Addresses
- Swim in Rising Water
- Strictly Palindromic Number
- Maximum Compatibility Score Sum
Amazon
- Shuffle an Array
- Cheapest Flights Within K Stops
- Split a String Into the Max Number of Unique Substrings
- Tweet Counts Per Frequency
- Maximum Sum of an Hourglass
- Maximum Subarray Min-Product
- Dota2 Senate
- Destroying Asteroids
- Most Popular Video Creator
- Number of Matching Subsequences
- Number of Ways to Reach a Position After Exactly k Steps
- Maximum Length of Repeated Subarray
- Top K Frequent Words
- Last Moment Before All Ants Fall Out of a Plank
- Generate Random Point in a Circle