Difficulty: Medium Link: Day 18: May Leetcode Challenge Problem Description Given a list paths of directory info, including the directory path, and all the files with contents…

# Category: Interview Questions

Implement the popular coding challenges in Swift.

Difficulty: Medium Link: Day 17: May Leetcode Challenge Problem Description Given a list of words, each word consists of English lowercase letters. Let’s say word1 is a…

Difficulty: Hard Link : Day 15: May Leetcode Challenge Asked in : Facebook, Linkedin, Twitch Problem Description A valid number can be split up into these components…

Difficulty: Medium Link: Day 14: May Leetcode Challenge Problem Description Given the root of a binary tree, flatten the tree into a “linked list”: The “linked list”…

Difficulty: Medium Link: Day 13: May Leetcode Challenge Problem Description We had some 2-dimensional coordinates, like “(1, 3)” or “(2, 0.5)”. Then, we removed all commas, decimal points, and…

Difficulty: Medium Link: Leetcode 986 Problem Statement You are given two lists of closed intervals, firstList and secondList, where firstList[i] = [starti, endi] and secondList[j] = [startj, endj]. Each list of…

Difficulty: Medium Link: Day 12: May Leetcode Challenge Problem Description Given a 2D matrix matrix, handle multiple queries of the following type: Calculate the sum of the elements…

Difficulty: Medium Link: Day 11 : May Leetcode Challenge Problem Statement There are several cards arranged in a row, and each card has an associated number…

Difficulty: Easy Link: Day 2: May LeetCode Challenge Problem Description Count the number of prime numbers less than a non-negative number, n. Examples Constraints 0 <=…

Problem Description Given two strings word1 and word2, return the minimum number of steps required to make word1 and word2 the same. In one step, you can delete exactly one character in either string. Examples Constraints…