Google Interview Report
- 0of 0 votes
AnswersGiven an array {a0, a1, a2, ... an, b0, b1, b2 ... bn},
- ajay.raj February 01, 2018 in United States
Rearrange this array into {a0, b0, a1, b1, a2, b2, ... an, bn}
inplace, O (1) space| Report Duplicate | Flag | PURGE
Google Java Developer - 0of 0 votes
AnswersImplement a grep-like function. For example
- ajay.raj February 01, 2018 in United States
[A1 + A2, B1 + B2, C1], grep (A = A1), is to return the result that contains A1,
For example, [A1, B1, C1], [A1, B2, C1].
More tricky can be grep (A = A1, A2, B = B1), so that is included (A1 || A2) & B1.| Report Duplicate | Flag | PURGE
Google Java Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.