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

This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".

Self-Diagnosis and Self-Debiasing This repository contains the source code for Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based

Timo Schick 62 Dec 12, 2022
RSNA Intracranial Hemorrhage Detection with python

RSNA Intracranial Hemorrhage Detection This is the source code for the first place solution to the RSNA2019 Intracranial Hemorrhage Detection Challeng

24 Nov 30, 2022
Official implementation of the Neurips 2021 paper Searching Parameterized AP Loss for Object Detection.

Parameterized AP Loss By Chenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang, Yong Liu, Jifeng Dai This is the official implementation of the Neurips 2021

46 Jul 06, 2022
Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch

Memory Efficient Attention This is unofficial implementation of Self-attention Does Not Need O(n^2) Memory for Jax and PyTorch. Implementation is almo

Amin Rezaei 126 Dec 27, 2022
A Python parser that takes the content of a text file and then reads it into variables.

Text-File-Parser A Python parser that takes the content of a text file and then reads into variables. Input.text File 1. What is your ***? 1. 18 -

Kelvin 0 Jul 26, 2021
RGBD-Net - This repository contains a pytorch lightning implementation for the 3DV 2021 RGBD-Net paper.

[3DV 2021] We propose a new cascaded architecture for novel view synthesis, called RGBD-Net, which consists of two core components: a hierarchical depth regression network and a depth-aware generator

Phong Nguyen Ha 4 May 26, 2022
Learning Facial Representations from the Cycle-consistency of Face (ICCV 2021)

Learning Facial Representations from the Cycle-consistency of Face (ICCV 2021) This repository contains the code for our ICCV2021 paper by Jia-Ren Cha

Jia-Ren Chang 40 Dec 27, 2022
Repository of the paper Compressing Sensor Data for Remote Assistance of Autonomous Vehicles using Deep Generative Models at ML4AD @ NeurIPS 2021.

Compressing Sensor Data for Remote Assistance of Autonomous Vehicles using Deep Generative Models Code and supplementary materials Repository of the p

Daniel Bogdoll 4 Jul 13, 2022
Can we learn gradients by Hamiltonian Neural Networks?

Can we learn gradients by Hamiltonian Neural Networks? This project was carried out as part of the Optimization for Machine Learning course (CS-439) a

2 Aug 22, 2022
Online Pseudo Label Generation by Hierarchical Cluster Dynamics for Adaptive Person Re-identification

Online Pseudo Label Generation by Hierarchical Cluster Dynamics for Adaptive Person Re-identification

TANG, shixiang 6 Nov 25, 2022
A general framework for deep learning experiments under PyTorch based on pytorch-lightning

torchx Torchx is a general framework for deep learning experiments under PyTorch based on pytorch-lightning. TODO list gan-like training wrapper text

Yingtian Liu 6 Mar 17, 2022
Adaptive Prototype Learning and Allocation for Few-Shot Segmentation (CVPR 2021)

ASGNet The code is for the paper "Adaptive Prototype Learning and Allocation for Few-Shot Segmentation" (accepted to CVPR 2021) [arxiv] Overview data/

Gen Li 91 Dec 23, 2022
Breaking the Dilemma of Medical Image-to-image Translation

Breaking the Dilemma of Medical Image-to-image Translation Supervised Pix2Pix and unsupervised Cycle-consistency are two modes that dominate the field

Kid Liet 86 Dec 21, 2022
Analysis of rationale selection in neural rationale models

Neural Rationale Interpretability Analysis We analyze the neural rationale models proposed by Lei et al. (2016) and Bastings et al. (2019), as impleme

Yiming Zheng 3 Aug 31, 2022
Losslandscapetaxonomy - Taxonomizing local versus global structure in neural network loss landscapes

Taxonomizing local versus global structure in neural network loss landscapes Int

Yaoqing Yang 8 Dec 30, 2022
PyTorch Implementation of the SuRP algorithm by the authors of the AISTATS 2022 paper "An Information-Theoretic Justification for Model Pruning"

PyTorch Implementation of the SuRP algorithm by the authors of the AISTATS 2022 paper "An Information-Theoretic Justification for Model Pruning".

Berivan Isik 8 Dec 08, 2022
Merlion: A Machine Learning Framework for Time Series Intelligence

Merlion: A Machine Learning Library for Time Series Table of Contents Introduction Installation Documentation Getting Started Anomaly Detection Foreca

Salesforce 2.8k Dec 30, 2022
[CVPR22] Official codebase of Semantic Segmentation by Early Region Proxy.

RegionProxy Figure 2. Performance vs. GFLOPs on ADE20K val split. Semantic Segmentation by Early Region Proxy Yifan Zhang, Bo Pang, Cewu Lu CVPR 2022

Yifan 54 Nov 29, 2022
Code for technical report "An Improved Baseline for Sentence-level Relation Extraction".

RE_improved_baseline Code for technical report "An Improved Baseline for Sentence-level Relation Extraction". Requirements torch = 1.8.1 transformers

Wenxuan Zhou 74 Nov 29, 2022
A Benchmark For Measuring Systematic Generalization of Multi-Hierarchical Reasoning

Orchard Dataset This repository contains the code used for generating the Orchard Dataset, as seen in the Multi-Hierarchical Reasoning in Sequences: S

Bill Pung 1 Jun 05, 2022