Preparation material for Dropbox interviews

Overview

Dropbox-Onsite-Interviews

A guide for the Dropbox onsite interview!

The Dropbox interview question bank is very small. The bank has been in a Chinese forum for many years now, and we would like to make it accessible to everyone so that everyone will have an equal opportunity to prepare for the Dropbox onsite interview!

https://1o24bbs.com/t/topic/1381

Backup link: https://web.archive.org/web/20210224003004/https://1o24bbs.com/t/topic/1381


Behavioral Questions:

Talk about an impactful project that you led.

  • Teams that you collaborated with.
  • Convincing others to take action.
  • A tough decision that you had to make during that project.

A critical piece of feedback that you received from someone and what you did after that.

An important piece of feedback that you gave to someone else.

A conflict that you had with someone else.

How do you contribute to diversity and inclusion?


We do not ask for references and we do not check for references.


Coding and System Design Tips

As always, you must talk your way through the problem and explain your reasoning. You should ALWAYS talk about performance (system performance for system design and time/space complexity for the coding problems) and talk about testing, even if the interviewer does not prompt you to.

Coding Question List:

  1. Id Allocator - Create a class that can allocate and release ids. The image in the packet is wrong. Please see this image.

This question is EXTREMELY popular and is asked in most onsite interviews, even if you're not a recent graduate.

Solution

  1. Download File / BitTorrent - Create a class that will receive pieces of a file and tell whether the file can be assembled from the pieces.

This question is mostly for new graduates/phone screens.

  1. Game of Life - Conway's Game of Life - Problem on LeetCode

This question is EXTREMELY popular for phone screens.

Solution

  1. Hit Counter - Design a class to count the hits received by a webpage

This question is mostly on phone screens.

Solution

  1. Web Crawler - Design a web crawler, first single-threaded, then multithreaded.

This question is EXTREMELY popular for onsite interviews.

Solution

  1. Token Bucket

This question is somewhat popular for onsite interviews. It has a multi-threaded component.

Solution

  1. Search the DOM

This question is somewhat popular for roles with a large frontend component.

Question

  1. Space Panorama

Create an API to read and write files and maintain access to the least-recently written file. Then scale it up to a pool of servers.

Solution

  1. Phone Number / Dictionary - Given a phone number, consider all the words that could be made on a T9 keypad. Return all of those words that can be found in a dictionary of specific words.

This question is sometimes asked to college students and sometimes asked in phone screens. It isn't asked a lot in onsites.

Solution

  1. Sharpness Value - This question is usually phrased like "find the minimum value along all maximal paths". It's a dynamic programming question.

Occasionally asked in phone screens. Might be asked in onsites for new hires.

Solution

  1. Find Byte Pattern in a File - Determine whether a pattern of bytes occurs in a file. You need to understand the Rabin-Karp style rolling hash to do well.

Somewhat frequently asked in onsite interviews. Might be asked in phone screens.

Solution

  1. Count and Say - LeetCode. Follow up - what if it's a stream of characters?

Asked to college interns.

Solution

  1. Number of Islands / Number of Connected Components - Find the number of connected components in a grid. Leetcode

Mainly asked to college interns.

Solution

  1. Combination Sum / Bottles of Soda / Coin Change - Find all distinct combinations of soda bottles that add up to a target amount of soda. LeetCode

Mainly asked to IC1 candidates.

Solution

  1. Find Duplicate Files - Given the root of a folder tree, find all the duplicate files and return a list of the collections of duplicate files. LeetCode

Somewhat popular in phone screens. Less common in onsites.

Solution

Computations and statistics on manifolds with geometric structures.

Geomstats Code Continuous Integration Code coverage (numpy) Code coverage (autograd, tensorflow, pytorch) Documentation Community NEWS: Geomstats is r

875 Dec 31, 2022
Code for "Single-view robot pose and joint angle estimation via render & compare", CVPR 2021 (Oral).

Single-view robot pose and joint angle estimation via render & compare Yann Labbé, Justin Carpentier, Mathieu Aubry, Josef Sivic CVPR: Conference on C

Yann Labbé 51 Oct 14, 2022
A general-purpose programming language, focused on simplicity, safety and stability.

The Rivet programming language A general-purpose programming language, focused on simplicity, safety and stability. Rivet's goal is to be a very power

The Rivet programming language 17 Dec 29, 2022
Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)

Contrastive Unpaired Translation (CUT) video (1m) | video (10m) | website | paper We provide our PyTorch implementation of unpaired image-to-image tra

1.7k Dec 27, 2022
Official implementation of the ICLR 2021 paper

You Only Need Adversarial Supervision for Semantic Image Synthesis Official PyTorch implementation of the ICLR 2021 paper "You Only Need Adversarial S

Bosch Research 272 Dec 28, 2022
EMNLP 2021 paper Models and Datasets for Cross-Lingual Summarisation.

This repository contains data and code for our EMNLP 2021 paper Models and Datasets for Cross-Lingual Summarisation. Please contact me at

9 Oct 28, 2022
Get started with Machine Learning with Python - An introduction with Python programming examples

Machine Learning With Python Get started with Machine Learning with Python An engaging introduction to Machine Learning with Python TL;DR Download all

Learn Python with Rune 130 Jan 02, 2023
✨风纪委员会自动投票脚本,利用Github Action帮你进行裁决操作(为了让其他风纪委员有案件可判,本程序从中午12点才开始运行,有需要请自己修改运行时间)

风纪委员会自动投票 本脚本通过使用Github Action来实现B站风纪委员的自动投票功能,喜欢请给我点个STAR吧! 如果你不是风纪委员,在符合风纪委员申请条件的情况下,本脚本会自动帮你申请 投票时间是早上八点,如果有需要请自行修改.github/workflows/Judge.yml中的时间,

Pesy Wu 25 Feb 17, 2021
DTCN IJCAI - Sequential prediction learning framework and algorithm

DTCN This is the implementation of our paper "Sequential Prediction of Social Me

Bobby 2 Jan 24, 2022
Selecting Parallel In-domain Sentences for Neural Machine Translation Using Monolingual Texts

DataSelection-NMT Selecting Parallel In-domain Sentences for Neural Machine Translation Using Monolingual Texts Quick update: The paper got accepted o

Javad Pourmostafa 6 Jan 07, 2023
Semi-Supervised Graph Prototypical Networks for Hyperspectral Image Classification, IGARSS, 2021.

Semi-Supervised Graph Prototypical Networks for Hyperspectral Image Classification, IGARSS, 2021. Bobo Xi, Jiaojiao Li, Yunsong Li and Qian Du. Code f

Bobo Xi 7 Nov 03, 2022
Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022.

Jadena Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022. arXiv

Qing Guo 13 Nov 29, 2022
Computer Vision and Pattern Recognition, NUS CS4243, 2022

CS4243_2022 Computer Vision and Pattern Recognition, NUS CS4243, 2022 Cloud Machine #1 : Google Colab (Free GPU) Follow this Notebook installation : h

Xavier Bresson 142 Dec 15, 2022
Lua-parser-lark - An out-of-box Lua parser written in Lark

An out-of-box Lua parser written in Lark Such parser handles a relaxed version o

Taine Zhao 2 Jul 19, 2022
NeurIPS 2021, self-supervised 6D pose on category level

SE(3)-eSCOPE video | paper | website Leveraging SE(3) Equivariance for Self-Supervised Category-Level Object Pose Estimation Xiaolong Li, Yijia Weng,

Xiaolong 63 Nov 22, 2022
Data manipulation and transformation for audio signal processing, powered by PyTorch

torchaudio: an audio library for PyTorch The aim of torchaudio is to apply PyTorch to the audio domain. By supporting PyTorch, torchaudio follows the

1.9k Dec 28, 2022
The repo of the preprinting paper "Labels Are Not Perfect: Inferring Spatial Uncertainty in Object Detection"

Inferring Spatial Uncertainty in Object Detection A teaser version of the code for the paper Labels Are Not Perfect: Inferring Spatial Uncertainty in

ZINING WANG 21 Mar 03, 2022
Convert Python 3 code to CUDA code.

Py2CUDA Convert python code to CUDA. Usage To convert a python file say named py_file.py to CUDA, run python generate_cuda.py --file py_file.py --arch

Yuval Rosen 3 Jul 14, 2021
Official repository for Hierarchical Opacity Propagation for Image Matting

HOP-Matting Official repository for Hierarchical Opacity Propagation for Image Matting 🚧 🚧 🚧 Under Construction 🚧 🚧 🚧 🚧 🚧 🚧   Coming Soon   

Li Yaoyi 54 Dec 30, 2021
ManipNet: Neural Manipulation Synthesis with a Hand-Object Spatial Representation - SIGGRAPH 2021

ManipNet: Neural Manipulation Synthesis with a Hand-Object Spatial Representation - SIGGRAPH 2021 Dataset Code Demos Authors: He Zhang, Yuting Ye, Tak

HE ZHANG 194 Dec 06, 2022