# SalahElhossiny

Senior Software engineer | AWS Hero

Work

The Food Lab

Distribute Candies

## Distribute Candies

Maximum Sum With Exactly K Elements

## Maximum Sum With Exactly K Elements

Nested Array Generator

AWS App Runner

## AWS App Runner

Count Complete Tree Nodes

## Count Complete Tree Nodes

Find Median from Data Stream

## Find Median from Data Stream

Max Area of Island

## Max Area of Island

Reorder Data in Log Files

Most Common Word

Orderly Queue

Partition Labels

## Partition Labels

Remove Letter To Equalize Frequency

## Remove Letter To Equalize Frequency

Reverse Odd Levels of Binary Tree

## Reverse Odd Levels of Binary Tree

Smallest Even Multiple

## Smallest Even Multiple

How to get matrix columns without numpy in Python

Decode Ways

## Decode Ways

Cheapest Flights Within K Stops

## Cheapest Flights Within K Stops

Smallest Number in Infinite Set

## Smallest Number in Infinite Set

Construct String from Binary Tree

## Construct String from Binary Tree

Count Good Nodes in Binary Tree

## Count Good Nodes in Binary Tree

Third Maximum Number

## Third Maximum Number

Letter Combinations of a Phone Number

Implement Trie

Set Mismatch

## Set Mismatch

Merge Triplets to Form Target Triplet

## Merge Triplets to Form Target Triplet

Battleships in a Board Count

## Battleships in a Board Count

Min Cost Climbing Stairs

## Min Cost Climbing Stairs

Leetcode Solutions: Maximum Depth of Binary Tree

## Leetcode Solutions: Maximum Depth of Binary Tree

Find Duplicate Subtrees

12-Factor Apps

## 12-Factor Apps

Max Rotate Function

## Max Rotate Function

Number of Islands

## Number of Islands

Split Array into Consecutive Subsequences

## Split Array into Consecutive Subsequences

Lowest Common Ancestor of a Binary Search Tree

Maximum Subarray

## Maximum Subarray

Combination Sum IV

## Combination Sum IV

Leetcode Solutions: Sum of Digits in the Minimum Number

## Leetcode Solutions: Sum of Digits in the Minimum Number

Leetcode Solutions: Queries on a Permutation With Key

## Leetcode Solutions: Queries on a Permutation With Key

Leetcode Solutions: Last Stone Weight

## Leetcode Solutions: Last Stone Weight

Leetcode Solutions: Longest Consecutive Sequence

## Leetcode Solutions: Longest Consecutive Sequence

Leetcode Solutions: Count Asterisks

## Leetcode Solutions: Count Asterisks

Leetcode Solutions: Remove All Adjacent Duplicates In String

## Leetcode Solutions: Remove All Adjacent Duplicates In String

Topological Sort in Interviews

## Topological Sort in Interviews

Leetcode Solutions: Multiply Strings

## Leetcode Solutions: Multiply Strings

Leetcode Solutions: Check If a Word Occurs As a Prefix of Any Word in a Sentence

## Leetcode Solutions: Check If a Word Occurs As a Prefix of Any Word in a Sentence

Leetcode Solutions: Rearrange Array Elements by Sign

## Leetcode Solutions: Rearrange Array Elements by Sign

Leetcode Solutions: Partition Array According to Given Pivot