They asked me to write a rate limiting function from scratch, to deflate an array into a multi-layered JSON, and to find a split that makes a subarray sum to the same value.
Please write a rate limiting function
Given [{id: 1, pid: 0}, {id:2, pid:1}, {id: 3, pid:2}], deflate this into: [{id:1, children:[{id:2, children:[]}, {id:3, children:[]}]]
The following metrics were computed from 1 interview experience for the Tencent Frontend Developer role in Malaysia.
Tencent's interview process for their Frontend Developer roles in Malaysia is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for Tencent's Frontend Developer interview process in Malaysia.