My solutions to various problems on LeetCode. Solutions are written in Java. They are divided into various sections. Individual details of a problem are given in their respective sections. Here is my leetcode profile link.
Solutions are grouped by its type and in most cases has a leetcode link associated to it. This is generated using the readme generator util.
Solution | Leetcode Link |
---|---|
Bitset | Link |
BitwiseAndOfNumberRange | Link |
CountBits | Link |
LargestCombinationWithBitwiseANDGreaterThanZero | Link |
MinimumFlipsToMakeAOrBEqualToC | Link |
ReverseBits | Link |
Total | 6 |
Solution | Leetcode Link |
---|---|
PrintInOrder | Link |
Total | 1 |
Solution | Leetcode Link |
---|---|
ConsecutiveNumbersFromStream | Link |
DayOfWeek | - |
MaxArea | Link |
RandomPickNumbers | Link |
Total | 4 |
Solution | Leetcode Link |
---|---|
AddWithoutArithmeticOperation | Link |
BrokenCalc | Link |
ConstructRectangle | Link |
CountGoodNumbers | Link |
GuessGame | - |
LexicalOrder | Link |
MinimumSumOfFourDigit | Link |
NimGame | Link |
RotatedDigits | Link |
Ugly | Link |
Total | 10 |
Solution | Leetcode Link |
---|---|
nth_highest_salary.py | Link |
second_highest_salary.py | Link |
Total | 2 |
Solution | Leetcode Link |
---|---|
CircularDeque | Link |
CircularQueue | - |
DesignFrontMiddleBackQueue | Link |
ImplementQueueUsingStack | Link |
Total | 4 |
Solution | Leetcode Link |
---|---|
DataStreamAsDisjointIntervals | Link |
InsertIntervals | Link |
MergeIntervals | Link |
MinimumNumberOfArrowsToBurstBaloons | Link |
module | - |
MyCalendar1 | Link |
Total | 6 |
Solution | Leetcode Link |
---|---|
RangeSumQuery | Link |
SegmentTree | - |
SmallerNumbersAfterSelf | Link |
Total | 3 |
Solution | Leetcode Link |
---|---|
AddAndSearchWord | - |
MapSumPairs | Link |
ReplaceWords | Link |
ShortEncodingOfWords | Link |
Trie | Link |
Total | 5 |
Thank you for checking out my solutions to these 735 leetcode problems. Let me know if any solution can be improved.