Akuna capital hackerrank | Akuna acreage | Akuna capital oa

Akuna capital hackerrank

Akuna Capital OA has 13 questions: 10 multiple choice C++ knowledge questions and finally 3 programming questions, all AC on Hackerrank.

Akuna Capital's online assessment has 13 questions in total: 10 C++ multiple-choice and 3 coding problems, all solved on Hackerrank.

OA 1: Card Game Scoring Differences

The two players, Sabrina and Mikhail, alternately draw cards from both ends of the pile. If the value of the drawn card is a multiple of 3, the direction of the pile is flipped; otherwise, the current direction is maintained. The implementation function returns the difference between Sabrina's score and Mikhail's score. A positive value means Sabrina won, a negative value means Mikhail won, and zero is a tie.

Two players, Sabrina and Mikhail, alternately draw cards from either end of a deck. If the drawn card is a multiple of 3, the deck orientation flips; otherwise it stays the same. If the drawn card is a multiple of 3, the deck orientation flips; otherwise it stays the same. Implement a function that returns Sabrina's score minus Mikhail's.

Time Complexity. O(n)

OA 2: Roman numerals to integers

Extracts Roman numerals from a string and converts them to decimal integers, following the addition/subtraction rule (subtracts if the smaller value is to the left of the larger value, otherwise adds).

Extract a Roman numeral from a string and convert it to its integer value, applying standard addition and subtraction rules.

Read More

Contact Us

Through ourInterview assistanceand OA ghostwriting, the candidate not only demonstrated solid programming skills, but also practiced clear thinking and communication skills. I wish you all good luck in your interviews!

author avatar
ProgramHelp
END
 0
Comment(没有评论)