Capital One | OA | Interview Experience
Anonymous User
1878

Round: Online Assessment
Duration: 70mins
Platform: CodeSignal

Q1: given a string count triplets, a triplet is a string of 3 letters with 1 and 3rd letter are equal. for example axA is one triplet.

Q2: given array of numbers represents power boosters present on the number line. you can choose 1 then use all its power and only then pick next booster present next on line. Using each booster you can go 10 points next. calculate maximum distance travelled using booster until you reach 'finish' line.

Q3: given a matrix and set of commands a) swapRows b) swapCols c) rotate90
perform these operation on the matrix based on command.

Q4: given a directed acyclic graph print anyone path from either of the endpoint.

[solved Q1, Q2, Q4] left Q3 due to lack of time Q4 took much of my time although Q3 was a lot easier. Waiting for callback.

Comments (5)