Ticker

6/recent/ticker-posts

HackerRank Virtual Functions Problem Solution



 This is the solution to the HackerRank Virtual Functions Problem.


Input: 

4

1

Walter 56 99

2

Jesse 18 50 48 97 76 34 98

2

Pinkman 22 10 12 0 18 45 50

1

White 58 87


Output:

Walter 56 99 1

Jesse 18 403 1

Pinkman 22 135 2

White 58 87 2






Post a Comment

0 Comments