Powerful Integers (Leetcode 970)

Difficulty: Medium Link: Day 30: April Leetcoding Challenge Given three integers x, y, and bound, return a list of all the powerful integers that have a value less than or equal…

Power of Three (Leetcode 326)

Difficulty: Easy Link : April Leetcode challenge: Day 27 Problem Statement Given an integer n, return true if it is a power of three. Otherwise, return false. An integer n is…

Remove Nth Node From End of List (Leetcode 19)

Difficulty: Medium . This problem is taken from Day 18 problem of April Leetcoding 2021: Problem Statement Given the head of a linked list, remove the nth node from…

Remove All Adjacent Duplicates In String (Leetcode 1047)

Difficulty: Easy Link: Leetcode Problem Statement Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make…

Remove All Adjacent Duplicates in String II (Leetcode 1209)

Difficulty : Medium Link: April Leetcoding Challenge : Day 16 Problem Statement Given a string s, a k duplicate removal consists of choosing k adjacent and equal letters from s and removing them causing…

Fibonacci Number (Leetcode 509)

Difficulty: Easy Link: April Leetcoding Challenge: Day 15 The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of…

Diameter of Binary Tree (Leetcode 543)

Difficulty : Easy Link: Leetcode 543 Problem Description Given the root of a binary tree, return the length of the diameter of the tree. The diameter of a binary tree is the length of…

Partition List (Leetcode 86)

Difficulty: Medium Link: April Leetcoding Challenge : Day 14 Given the head of a linked list and a value x, partition it such that all nodes less than x come before…

Flatten Nested List Iterator (Leetcode 341)

Difficulty : Medium Link : April Leetcoding Day 13 Problem Description You are given a nested list of integers nestedList. Each element is either an integer…

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…