# Keys and Rooms — Day 100 (Python)

Today’s question is from Daily Leetcode Coding Challenge — March Edition. It is a medium-tagged question. Let us look into the problem statement.

# Delete Duplicate Emails — Day 99(SQL)

Today’s question is a SQL question. Let us look into the problem statement.

`+----+------------------+| Id | Email            |+----+------------------+| 1  | john@example.com || 2  | bob@example.com  || 3  | john@example.com |+----+------------------+Id is the primary key column for this table.`

For example, after running your query, the above `Person` table should have the following rows:

`+----+------------------+| Id | Email…`

# Generate Random Point in a Circle — Day 98(Python)

Today’s question is a Math based question. It is taken from the Daily leetcode coding challenge- March edition. Let us look into the problem statement.

1. input and output values are in floating-point.
2. radius and x-y position of the center of the circle is passed into the class constructor.
3. a point on the circumference of the circle is considered to be in the circle.
4. `randPoint` returns a size…

# Best Time to Buy and Sell Stock with Transaction Fee — Day 97(Python)

Today’s question is from the Daily Leetcode coding challenge — March edition. Let us look into the problem statement.

# Swapping Nodes in a Linked List — Day 96(Python)

Today’s question is taken from the Daily Leetcode Coding challenge — March edition. Let us look into the problem statement.

# Check If a String Contains All Binary Codes of Size K — Day 95(Python)

Today’s question is from Leetcode’s Daily coding Challenge- March Edition. Let us look into the problem statement.

`Input: s = "00110110", k = 2Output: trueExplanation: The binary codes of length 2 are "00", "01", "10" and "11". They can be all found as substrings at indicies 0, 1, 3 and 2 respectively.`

Example 2:

`Input: s = "00110"…`

# First Missing Positive — Day 94(Python)

Today’s question is a Hard-tagged question on Leetcode. This question is quite frequently asked in technical interviews. Let us look into the problem statement.

`Input: nums = [1,2,0]Output: 3`

Example 2:

`Input: nums = [3,4,-1,1]Output: 2`

Example 3:

`Input: nums = [7,8,9,11,12]Output: 1`

Constraints:

• `0 <= nums.length <= 300`
• `-231 <= nums[i] <= 231 - 1`

Follow up: Could you implement an algorithm that runs in `O(n)` time and uses constant extra space?

# Integer to Roman — Day 93(Python)

Today’s question is a medium-tagged question in Leetcode. This question is asked in multiple coding interviews. Let us look into the problem statement.

`Symbol       ValueI             1V             5X             10L             50C             100D             500M             1000`

For example, `2` is written as `II` in Roman numeral, just two one's added together. `12` is written as `XII`, which is simply `X + II`. The number `27` is written as `XXVII`, which is `XX + V + II`.

# Employees Earning More Than Their Managers — Day 92(SQL)

Today’s question is a SQL question. Let us look into the problem statement.

`+----+-------+--------+-----------+| Id | Name  | Salary | ManagerId |+----+-------+--------+-----------+| 1  | Joe   | 70000  | 3         || 2  | Henry | 80000  | 4         || 3  | Sam   | 60000  | NULL      || 4  | Max   | 90000  | NULL      |+----+-------+--------+-----------+`

Given the `Employee` table, write a SQL query…

# Strobogrammatic Number II — Day 91(Python)

Today’s question is a medium-tagged question on leetcode. Let us look into the problem statement.

`Input: n = 2Output: ["11","69","88","96"]`

Example 2:

`Input: n = 1Output: ["0","1","8"]`

Constraints:

• `1 <= n <= 14`

Before we start with solving this problem, let us understand what strobogrammatic numbers are. A strobogrammatic number is a…

## Annamariya Tharayil

Software Engineer. Find me @ www.linkedin.com/in/annamariya-jt

Get the Medium app