Ramp Although VO and OA are difficult, as long as you understand the logic of their assessment, make up for the shortcomings of knowledge and practice diligently, you will be able to turn challenges into opportunities. From the engineering thinking training of OA to the practical exercises of OOD and data processing in VO, every link is crucial. I hope that this interview experience can be a "secret passage" for your job search, and I wish you all a solid interview with Ramp and get your favorite offer!
Ramp OA
There are four phases (four questions), each of which involves modifying the code after the previous phase has been fully passed to achieve more complex functionality.OA is more difficult, leaning toward the complex engineering category, with a long logic flow and many details to pay attention to. It is not a test of algorithms or intelligence, unlike the LeetCode type.
Given a rooted tree, each node corresponds to a positive integer value, denoted as the "weight" of that node. Each node also contains a list of child nodes representing its direct children.
- subtree: The set consisting of all nodes with this node as root.
- non-leaf node: A node with at least one child node.
We can compute the average of the weights of all nodes in its subtree, defined as:
Find such a non-leaf node such that the average value of its subtree is maximized and return the number of the node.
Input Example:
tree_data = {
1: {"value": 10, "children": [2, 3]},
3: {"value": 30, "children": []}, 4: {"value": 40, "children": [4]}, {"value": 30, "children": []}, {"children": []}, {"children": []}, {"children": []}
4: {"value": 40, "children": []}
}
Output:The node number with maximum subtree average is:2
Ramp VO
Google search is available throughout the interview. The interviewer was friendly and relaxed, and would always follow up on your thoughts, and the Q&A session at the end was genuine, so the interview experience was good.
Object-Oriented Design (OOD)
Requires the implementation of a spreadsheet (spreadsheet), the following methods need to be implemented:
setCell(string index, string value)
getCell(string index)
: Returns a floating point number.
index
The format is of the form "C1" (which can be considered up to a size of 26 * 100);value
Format is either a floating-point number, either in line with the "= A2 + B3" such a format, support for addition, subtraction, multiplication and division operations, without having to consider cyclic dependencies, there is a dependency on the cell to achieve dynamic updates. The realization of the idea is relatively simple, but the specific implementation process is more complex.
data computation
Calculates the data in the local file according to the given logic, similar to the wordCount
Operation. This round, like OA, is divided into multiple stages and progressively increases in difficulty.
Ramp VO+OA interviews are indeed difficult, but as long as you master the common question types and appropriate preparation strategies, getting an offer is not difficult.
If you need more interview coaching or preparation support.ProgramHelp Providing professional one-on-one tutoring, OA ghostwriting, andjob interview, interview assistance services to help you prepare efficiently and improve your interview performance.