LeetCode
Collection of LeetCode questions to ace the coding interview!
Link of My Profile:
https://leetcode.com/yomnazali/
Count of problems solved:
48
List of Problems:
Sum Two Integers:
https://github.com/YomnaAhmed97/LeetCode/tree/main/2235-add-two-integers
Tree Problem:
https://github.com/YomnaAhmed97/LeetCode/tree/main/2236-root-equals-sum-of-children
Sum of 1D Array:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1480-running-sum-of-1d-array
Find the pivot:
https://github.com/YomnaAhmed97/LeetCode/tree/main/724-find-pivot-index
Richest Customer Wealth
https://github.com/YomnaAhmed97/LeetCode/tree/main/1672-richest-customer-wealth
FizzBuzz Problem:
https://github.com/YomnaAhmed97/LeetCode/tree/main/412-fizz-buzz
Number-of-steps-to-reduce-a-number-to-zero Problen:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1342-number-of-steps-to-reduce-a-number-to-zero
Middle of linked list:
https://github.com/YomnaAhmed97/LeetCode/tree/main/876-middle-of-the-linked-list
Ransom-note:
https://github.com/YomnaAhmed97/LeetCode/tree/main/383-ransom-note
Count Odd Numbers:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1523-count-odd-numbers-in-an-interval-range
Average Salary:
Number of '1' bits:
https://github.com/YomnaAhmed97/LeetCode/tree/main/191-number-of-1-bits
Subtract the Product and Sum of Digits of an Integer:
Largest Perimeter Triangle:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0976-largest-perimeter-triangle
Can Make Arithmetic Progression From Sequence:
Find Nearest Point That Has the Same X or Y Coordinate:
sign-of-the-product-of-an-array:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1822-sign-of-the-product-of-an-array
Happy Number:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0202-happy-number
Check if One String Swap Can Make Strings Equal:
N-ary Tree Preorder Traversal:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0589-n-ary-tree-preorder-traversal
Next Greater Element:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0496-next-greater-element-iI
Check If It Is a Straight Line:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1232-check-if-it-is-a-straight-line
Sum of All Odd Length Subarrays:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1588-sum-of-all-odd-length-subarrays
Move Zeroes:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0283-move-zeroes
Matrix Diagonal Sum:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1572-matrix-diagonal-sum
Reshape the Matrix:
Find the Difference:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0389-find-the-difference
Merge Strings Alternately
https://github.com/YomnaAhmed97/LeetCode/tree/main/1768-merge-strings-alternately:
Goal Parser Interpretation:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1678-goal-parser-interpretation
To Lower Case:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0709-to-lower-case
Decrypt String from Alphabet to Integer Mapping:
Verifying an Alien Dictionary:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0953-verifying-an-alien-dictionary
Sum of Left Leaves:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0404-sum-of-left-leaves
Convert Binary Number in a Linked List to Integer:
Maximum Depth of Binary Tree:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0104-maximum-depth-of-binary-tree
Sort Integers by The Number of 1 Bits:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1356-sort-integers-by-the-number-of-1-bits
Implement Queue using Stacks:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0232-implement-queue-using-stacks
Contains Duplicate:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0217-contains-duplicate
Valid Anagram:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0242-valid-anagram
Range Sum Query - Immutable:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0303-range-sum-query-immutable
Design Parking System:
https://github.com/YomnaAhmed97/LeetCode/tree/main/1603-design-parking-system
Monotonic Array:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0896-monotonic-array
Find the Index of the First Occurrence in a String:
Repeated Substring Pattern:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0459-repeated-substring-pattern
Balanced Binary Tree:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0110-balanced-binary-tree
Find the Index of the First Occurrence in a String:
Plus One:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0066-plus-one
Evaluate Reverse Polish Notation:
https://github.com/YomnaAhmed97/LeetCode/tree/main/0150-evaluate-reverse-polish-notation