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…

# Tag: swift

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…

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…

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…

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…

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…

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…

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…

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

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…