Skip to content

DeekshaGoyal999/leetcode

Repository files navigation

Leetcode

# Title Solution Runtime
1 Two Sum Python3 48 ms
2 Add Two Numbers Python3 101 ms
21 Merge Two Sorted Lists Python3 28 ms
33 Search in Rotated Sorted Array Python3 44 ms
48 Rotate Image Python3 32 ms
50 Pow(x, n) Python3 32 ms
55 Jump Game Python3 484 ms
73 Set Matrix Zeroes Python3 132 ms
74 Search a 2D Matrix Python3 40 ms
83 Remove Duplicates from Sorted List Python3 40 ms
118 Pascal's Triangle Python3 28 ms
136 Single Number Python3 128 ms
151 Reverse Words in a String Python3 51 ms
152 Maximum Product Subarray Python3 8612 ms
162 Find Peak Element Python3 44 ms
206 Reverse Linked List Python3 36 ms
237 Delete Node in a Linked List Python3 36 ms
287 Find the Duplicate Number Python3 716 ms
344 Reverse String Python3 188 ms
349 Intersection of Two Arrays Python3 44 ms
367 Valid Perfect Square Python3 28 ms
383 Ransom Note Python3 40 ms
387 First Unique Character in a String Python3 56 ms
392 Is Subsequence Python3 20 ms
470 Implement Rand10() Using Rand7() Python3 364 ms
709 To Lower Case Python3 52 ms
766 Toeplitz Matrix Python3 84 ms
771 Jewels and Stones Python3 28 ms
796 Rotate String Python3 32 ms
801 Minimum Swaps To Make Sequences Increasing Python3 84 ms
876 Middle of the Linked List Python3 24 ms
922 Sort Array By Parity II Python3 204 ms
929 Unique Email Addresses Python3 80 ms
1047 Remove All Adjacent Duplicates In String Python3 116 ms
1108 Defanging an IP Address Python3 32 ms
1221 Split a String in Balanced Strings Python3 32 ms
1281 Subtract the Product and Sum of Digits of an Integer Python3 28 ms
1313 Decompress Run-Length Encoded List Python3 64 ms
1342 Number of Steps to Reduce a Number to Zero Python3 28 ms
1351 Count Negative Numbers in a Sorted Matrix Python3 104 ms
1365 How Many Numbers Are Smaller Than the Current Number Python3 428 ms
1389 Create Target Array in the Given Order Python3 32 ms
1431 Kids With the Greatest Number of Candies Python3 40 ms
1446 Consecutive Characters Python3 44 ms
1460 Make Two Arrays Equal by Reversing Sub-arrays Python3 76 ms
1470 Shuffle the Array Python3 52 ms
1480 Running Sum of 1d Array Python3 40 ms
1486 XOR Operation in an Array Python3 32 ms
1512 Number of Good Pairs Python3 36 ms
1528 Shuffle String Python3 56 ms
1534 Count Good Triplets Python3 376 ms
1550 Three Consecutive Odds Python3 44 ms
1614 Maximum Nesting Depth of the Parentheses Python3 28 ms
1662 Check If Two String Arrays are Equivalent Python3 28 ms
1672 Richest Customer Wealth Python3 48 ms
1678 Goal Parser Interpretation Python3 32 ms
1684 Count the Number of Consistent Strings Python3 260 ms
1732 Find the Highest Altitude Python3 28 ms
1752 Check if Array Is Sorted and Rotated Python3 68 ms
1768 Merge Strings Alternately Python3 28 ms
1773 Count Items Matching a Rule Python3 240 ms
1816 Truncate Sentence Python3 28 ms
1823 Find the Winner of the Circular Game Python3 524 ms
1832 Check if the Sentence Is Pangram Python3 52 ms
1859 Sorting the Sentence Python3 32 ms
1913 Maximum Product Difference Between Two Pairs Python3 311 ms

LeetCode Topics

Array

1878-check-if-array-is-sorted-and-rotated

Math

0007-reverse-integer
0009-palindrome-number

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages