FIS Global | IT Trainee | 2024 Batch | On-Campus
Anonymous User
397

I was Interviewed for an IT Trainee role at FIS Global (On-Campus).
FIS takes 3 rounds for the selection of candidates.

Round 1 – (Online Assessment): Test Duration 90 Min.
It was held on Mettl platform and consisted of Aptitude, English, some technical MCQs, and 2 coding questions.

2 Coding Questions:

1. Wedding game

In a wedding that you are attending, there are some chairs that have digits inscribed at their
backs. The chairs are lined in a row such that they form a string of the digits. Find the minimum number of sets M that can be formed from these digits such that:
1. The number of digits in each set is one gf more than one.
2. Each set is formed using consecutive digits and no digit can be used more than once.
3. In each set, the number formed using the digits is less than or equal to Y.

Input1 = S, String of Digits.
Input2 = Y. No Number should be greater than Y.
Input3 = Size of String S.

Output Specification: Your Function should return M, the minimum number of Sets.

Example 1: 
Input1 =1234Input2 = 4
Input3 = 4

Output = 4

C++ Code:

#include <bits/stdc++.h>
using namespace std;

int minimumSets(string s, int x, int l) 
{
    int count = 0, n = 0;
    bool f = false;

    for(int i=0; i<l; i++) 
    {
        n = n * 10 + (s[i] - '0');
        
        if(n <= x) f = true;
        
        else 
        {
            if(f) count += 1;
            
            n = s[i] - '0';
            f = false;
            
            if(n <= x) f = true;
            
            else n = 0;
        }
    }

    if(f == true) count += 1;

    return count;
}

int main() 
{
    string s;
    cin >> s;
    
    int input2 = 0;
    cin >> input2;
    
    int input3 = s.size();
    
    cout << minimumSets(s, input2, input3) << "\n";

    return 0;
}

2. Mr. Myers and the Exam

A mathematics question paper has a certain number of questions and each question is assigned some random maximum marks. Mr. Myers wants to edit the marks assigned to the questions such that.

All questions in the paper should have distinct maximum marks
The total marks of all the questions should be as low as possible.
Mr. Myers wants to achieve this by making minimal changes in the original format, assigning the question at least as much marks as it originally had. Find the minimum total marks that he can set the paper for

Input Specification:
input1: The number of questions in the paper
input2: The array representing the original marks assigned to every question

Output Specification:
The minimum total marks Mr. Myers can set the paper for

Example 1:
input1: 5
input2: {1,2,3,4,5)
Output: 15

Explanation:
As all the questions already have distinct marks he can set the paper as it is with minimum marks as 1+2+3+4+5 = 15

Example 2:
input1: 5
input2: {1,4,5,4,5)
Output: 23

Explanation:
Here the question 1 would have at least 1 mark, question 2 would have at least 4 marks question 3 would have at least 5 marks, so the new set of marks will have to be {1,4,5,6,7}, such that all the conditions are satisfied.

C++ Code:

#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
    int n;
    cin >> n;
 
    ll arr[n];
    for(int i=0; i<n; i++) cin >> arr[i];
 
    sort(arr, arr + n);
 
    ll prev = arr[0];
    ll ans = arr[0];
 
    for(int i=1; i<n; i++)
    {
        ll cur = arr[i];
        if(prev > cur) cur = prev + 1;
        
        else if(cur == prev) cur++;
 
        ans += cur;
        prev = cur;
    }
 
    cout << ans << "\n";
    return 0;
}

Round 2 – (Technical Interview):

This was the interview conducted by one of the panels. There were around 10 to 15 different panels for interviews, each with specific domain knowledge.
He first introduced himself and asked me to do the same.

  • Interviewer started some questions related to my project.
  • Explain OOPs. (Specifically, Polymorphism)
  • Explain Operator Overloading, Virtual Function, Function Overloading.
  • Explain Abstract Class.
  • Explain Types of Joins.
  • Write the Query for Nth Highest Salary.
  • Explain Database vs Data Warehouse.
  • Why Indexing is needed in Database and explain how it is done.
  • Explain SDLC Model.
  • Explain Waterfall Model, Agile Model.
  • What is AWS.
  • What is the need of AWS.

No DSA, Computer Networks, Operating System Questions were asked by my Panel.
Mostly the interview was based on resume. The Interview lasted for around 50 Min.

Round 3 - (HR Interview):

This interview lasted for 15 minutes and HR asked me about my family background and location preferences.

  • Introduction
  • My Strengths and weaknesses.
  • Are you Open for PAN India Location.
  • Preferred Technology and the language you are comfortable in.
  • Scenario-based Question.

FIS announced the results 4 days after this round.

Final Verdict – Selected

Comments (1)