Daily Coding Problem

Newsletter Image

Messages

1/12/2024
9 : 5

Daily Coding Problem: Problem #1328 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a string, split it into as few strings as possible such that each string
1/9/2024
18 : 34

Daily Coding Problem: Problem #1326 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. reduce (also known as fold ) is a function that takes in an array, a combining
1/8/2024
18 : 34

Daily Coding Problem: Problem #1325 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Etsy. Given a sorted array, convert it into a height-balanced binary search tree.
1/7/2024
18 : 34

Daily Coding Problem: Problem #1324 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. You are given an array of length 24 , where each element represents the number
1/6/2024
18 : 44

Daily Coding Problem: Problem #1323 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. You have N stones in a row, and would like to create from them a pyramid. This
1/5/2024
18 : 44

Daily Coding Problem: Problem #1322 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. The game of Nim is played as follows. Starting with three heaps, each containing
1/4/2024
18 : 44

Daily Coding Problem: Problem #1321 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given a number in Roman numeral format, convert it to decimal. The values of
1/3/2024
18 : 44

Daily Coding Problem: Problem #1320 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given an integer k and a string s, find the length of the longest substring that
1/2/2024
18 : 34

Daily Coding Problem: Problem #1319 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. Given a real number n , find the square root of n. For example, given n = 9 , return 3 . Upgrade to premium and
1/1/2024
18 : 44

Daily Coding Problem: Problem #1318 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yahoo. You are given a string of length N and a parameter k . The string can be
12/31/2023
18 : 44

Daily Coding Problem: Problem #1317 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Pinterest. The sequence [0, 1, ..., N] has been jumbled, and the only clue you have for
12/30/2023
18 : 44

Daily Coding Problem: Problem #1316 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Oracle. We say a number is sparse if there are no adjacent ones in its binary
12/29/2023
18 : 54

Daily Coding Problem: Problem #1315 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Epic. The "look and say" sequence is defined as follows: beginning with the
12/28/2023
18 : 44

Daily Coding Problem: Problem #1314 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Palantir. The ancient Egyptians used to express fractions as a sum of several terms
12/27/2023
18 : 44

Daily Coding Problem: Problem #1313 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yahoo. Write a function that returns the bitwise AND of all integers between M and N ,
12/26/2023
18 : 44

Daily Coding Problem: Problem #1312 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Two Sigma. Using a function rand5() that returns an integer from 1 to 5 (inclusive) with
12/25/2023
18 : 54

Daily Coding Problem: Problem #1311 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A quack is a data structure combining properties of both stacks and queues. It
12/24/2023
19 : 14

Daily Coding Problem: Problem #1310 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Fitbit. Given a linked list, rearrange the node values such that they appear in
12/23/2023
18 : 54

Daily Coding Problem: Problem #1309 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Grammarly. Soundex is an algorithm used to categorize phonetically, such that two names
12/22/2023
19 : 14

Daily Coding Problem: Problem #1308 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Samsung. A group of houses is connected to the main water plant by means of a set of