I will be uploading the various leetcode problems and my solutions for them here. I hope to do 1 question everyday but it will depend on how much time I can spare every day. When programming, I test my logic on my local machine before simplyifing the program for leetcode submission.
- Add 2 Numbers
- Count Integers With Even Sum
- Palindrome or Not
- Number of Steps to reduce a number to Zero
- Two Sum
- Reverse Integer
- Search insert position
- Height Checker
- Missing Number
- Remove Element
- Contains Duplicates
- Median of Two Sorted Arrays
- Remove Duplicates from Sorted Array
- Majority Element
- Palindrome I
- Single Number
- Question 1
- Transpose of a Matrix
- Transform Array by Parity
- Shuffle the Array
- Minimum Element After Replacement With Digit Sum
- Find the Integer Added to Array I
- Richest Customer Wealth
- Build Array From Permutation
- How Many Numbers Are Smaller Than the Current Number
- Concatenation of an Array
- Number of Employees Who Met the Target
- Running Sum of 1d Array
- Minimum Average of Smallest and Largest Elements
- Final Value of Variable After Performing Operations
- Find Minimum Operations to Make All Elements Divisible by Three
- Check if two String Arrays are equivalent
- Minimum Operations to Exceed Threshold Value I
- Number of Senior Citizens
- Difference Between Element Sum and Digit Sum of an Array
- Minimum Number Game
- Find if Digit Game can be Won
- Find the First Palindromic String in the Array
- Truncate Sentence
- Shuffle String
- Find the Highest Altitude
- Sort Array by Parity
- Squares of a Sorted Array
- Plus One
- Find Numbers with Even Number of Digits
- Merge Sorted Array
- Best Time to Buy and Sell Stock
- Move Zeros
- Max Consecutive Ones
- Binary Search
- Fizz Buss
- Valid Paranthesis
- Length of Last Word
- Flipping an Image
- Longest Common Prefix
- Roman to Integer
- Valid Anagram
- Word Pattern
- ContainsDuplicateII
- Reverse String
- Jewels and Stones
- Power of Four
- Maximum 69 Number
- Power of Three
- Keyboard Row
- Defanging an IP Address
- Find Closest Person
- Three Consequtive Odds
- Reverse the Vowels of a String
- Intersection of 2 Arrays
- Ransom Note
- Add Binary
- Employees Earning More than their Managers
- Combine Two Tables
- Duplicate Emails
- Employee Bonus
- Game Play Analysis I
- Rising Temperature
- Customers Who Never Order
- Big Countries
- Find Customer Referee
- Customer Placing the Largest Number of Orders
- Classes With at Least 5 Students
- Not Boring Movies
- Swap Salary
- Product Analysis I
- Actors and Directors Who Cooperated at least 3 times
- Biggest Single Number
- Article Views I
- Number of Unique Subjects Taught by Each Teacher
- Invalid Tweets
- Recyclable Low and Fat Products
- Project Employees I