DailyCodingProblem icon indicating copy to clipboard operation
DailyCodingProblem copied to clipboard

Results 5 DailyCodingProblem issues
Sort by recently updated
recently updated
newest added

Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Implement an efficient string matching algorithm. That is, given a string of length N and...

This problem was asked by Google. Suppose we represent our file system by a string in the following manner: The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents: dir subdir1 subdir2 file.ext The directory dir...

This problem was asked by Facebook. Given a stream of elements too large to store in memory, pick a random element from the stream with uniform probability.

This problem was asked by Google. The area of a circle is defined as πr^2. Estimate π to 3 decimal places using a Monte Carlo method. Hint: The basic equation...

This problem was asked by Amazon. Given an integer k and a string s, find the length of the longest substring that contains at most k distinct characters. For example,...