UpStox Machine coding

Anonymous User
1376
Feb 19, 2022
Feb 19, 2022

Got this question in Upstox machine coding round . Can someone explain the significance of the line in asterisk .

Upstox Engineering Awards

This is the time for annual
Upstox Engineering awards 👩💻. HR was asked to find the best
Engineers around but after creating a BIG and bulky CSV they have realised it will take more time and effort than they anticipated.

So HR has asked you to work on a Project which will help them award the best people around them.

The CSV is stored on a crapy and cheap laptop but you have no time to shift the file to any other machine, so things you have to be careful about:

 **No more than two CSVs can be stored in the primary memory**
• If the time-complexity of the project is greater than O(n) then the laptop crashes.

But make sure that this code is not just for this year, so a proper structure of the code is very important.

The format of the CSV is:

Engineer
Role
Manager
Feature Story
UAT Bug Story
Prod Bug Story
Ashok
DEV
Anup
156
29
13
Naynish
DEV
Anup
127
54
0
Anup
DEV
Sami
487
65
31
Ujjwal
QA
Anup
200
547
65

Points related to each type of Issue is:

Feature: +10 for Dev, +5 for QA UAT Bug: -5 For Dev, +10 for QA Prod Bug: 0 for Dev, -10 for QA

Now you have to find out the
1. Best QA (Max story point for QAs)
2. Best Dev (Max story points for Dev)
3. Best Manager: For this you have to find the manager whose immediate team has scored maximum points, no individual contribution will be considered for this.

  • immediate team comprises of direct repotees
Comments (2)