Round 1(Written): 38 shortlisted for online test.
- 25 MCQs on C++ and
- 25 MCQs on Java
Round 2(Technical Interview): 18 selected for Interview round.
Topics:
-
Programming language:
- C++ and Java
- Object-Oriented programmings.
-
Core Subjects:
- Operating system
- Computer networks
- Software Engineering
- DBMS
In the core subjects, they want basic knowledge on the subjects.
-
Coding question:
- Given a string str=”example*xyz*jio”; We have to split the given string by * and find the size of the result and time complexity of algorithm used.
Total Time of interview: 45-50 mins.
Code:
#include<bits/stdc++.h> using namespace std;
int main()
{ //given string str
string str=”geeksforgeeks@2021@jio”;
string s=””; //empty string
vector<string> v; //string array
int l=str.length();
int count=0; // no. of @ ->seperators
for ( int i=0;i<l;i++)
{ if (str[i]==’@’)
{
v.push_back(s);
s=””;
count++;
}
else
{
s+=str[i];
}
} v.push_back(s); cout<<“No. of substrings seperated by @ “<<count+1<<endl; cout<<“Substrings are:\n\n”; for (string i: v )
cout<<i<<endl; cout<<“\n\nresult size: \n”; cout<<“Size of “<<count+1<<” substrings + size of “<<count +1<<” pointers pointing sunstrings\n”;
return 0;
} |
Finally, they selected 13 students from our Campus.