# Beautiful Arrangement II (Leetcode 667)

Difficulty : Medium Link : April Leetcoding Challenge 2021: Day 12 Problem Statement Given two integers n and k, you need to construct a list which contains n different positive…

# Deepest Leaves Sum (Leetcode 1302)

Difficulty: Medium Tag : April Leetcoding Challenge 2021: Day 11 Problem Description Given the root of a binary tree, return the sum of values of its deepest leaves.…

# Longest Valid Parentheses (Leetcode 32)

Difficulty : Hard Link :April Leetcoding Challenge 2021 : Day 3 Problem statement Given a string containing just the characters ‘(‘ and ‘)’, find the length of the…

# Verifying an Alien Dictionary (Leetcode 953)

Problem description (Difficulty: Easy) In an alien language, surprisingly they also use english lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of lowercase…

# Letter Combinations of a Phone Number (Leetcode 17)

Letter combinations of a phone number

# Determine if String Halves Are Alike (Leetcode 1704 )

This problem was taken from April Leetcoding Challenge April 2021 on Leetcode. The solution discussed here is in Swift but you can use the approach…

# Swift Challenge: Find the majority element

Asked in : Amazon , Microsift, Visa Problem statement Our aim to find the majority element from a list of elements. A majority element is…

# Interview Question: Check for balanced parentheses in an expression

Asked in : Amazon , Microsoft Difficulty level: Medium Problem Statement We have to check if a string containing opening and the closing brackets is…