Dropbox Interview Questions  

See also
BlackRock Interview Questions
Please click Like if you loved this article?

String Questions Dropbox

Question 1. Count the Pairs at Same Distance as in English Alphabets Problem Statement   In the “Count of Pairs at Same Distance as in English Alphabets” problem we have given a string “s”. Write a program that will print the number of pairs whose elements are at the same distance as in English alphabets. Input Format   The first line containing the given ...

Read more

Other Questions Dropbox

Question 2. Sliding Window Maximum In Sliding Window Maximum problem we have given an array nums, for each contiguous window of size k, find the maximum element in the window. Example   Input nums[] = {1,3,-1,-3,5,3,6,7} k = 3 Output {3,3,5,5,6,7} Explanation Naive Approach for Sliding Window Maximum   For every contiguous window of size k, traverse ...

Read more

Question 3. LRU Cache Implementation Least Recently Used (LRU) Cache is a type of method which is used to maintain the data such that the time required to use the data is the minimum possible. LRU algorithm used when the cache is full. We remove the least recently used data from the cache memory of ...

Read more