Professional Documents
Culture Documents
Positive Experience
Average Interview
Application
I applied online. The process took 4+ weeks. I interviewed at MathWorks in October
2016.
Interview
It started off with a phone screening (15 minutes) which was more of a HR Round.
Followed by a Hackerrank where you have to choose 2 sections out of 5 (Python, C/C++,
Java, MATLAB, JavaScript). Followed by a phone interview.
Interview Questions
Hackerrank Challenge:
Java (6 mcq's and 2 programming questions) - Sort HashMap by value and reversing
words in a sentence.
C/C++ (6 mcqs and 2 programming questions) - initializing base class members from
derived class through derived class constructor and Max Difference in an array. Answer
Question
Helpful
#include <iostream>
using namespace std;
int main() {
//code
int t;
cin>>t;
int n=0;
for(int i=0;i<t;i++){
cin>>n;
int large_diff=0;
int diff=0;
int *num=NULL;
num=new int[n];
for(int j=0;j<n;j++){
cin>>num[j];
}
int small=num[0];
for(int k=1;k<n;k++){
if(small>num[k]){
small=num[k];
}
else{
diff=num[k]-small;
if(large_diff<diff)
large_diff=diff;
}
}
cout<<large_diff<<"\n";
}
return 0;
// for(int j=0;j<result.length;j++)
// System.out.println(result[j]);
str1=result[i].trim();
str1=str1.trim();
//System.out.println(str1);
if(str1.equals(" ")||str1.equals(""))
continue;
if(i==len-1&&i==0)
sf.append(str1);
else if (i==0)
sf.append(str1);
else sf.append(str1+" ");
String str=sf.toString();
// StringBuffer fstr=str.trim();
return str.trim();
}
}
1. Code snippets for c++ programs where I need to predict the output.
2. Normal JAVA object oriented concepts, multi threading, strings etc.
3. General math probability questions and set operations.
The whole interview process was for 1 hr
Interview
The process started with a HR video interview followed by a technical phone screen. The questions
for the video were behavioral; Experience, interest in position, instance of handling multiple
responsibilities. The technical phone screen was for an hour and consisted of basic questions from
C/C++, signal processing, Matlab and calculus.
Interview Questions
1.what is String Buffer? what is public static void main(String[] args), explain it?..etc
Data Structures like what are graphs and describe how HashMap works. Design
questions like how would you design a vending machine. OS related questions like
Critical section, Mutex locks, DeadLock etc and some Maths question related to
probability.
HR round(online video recorded)-15 mins 2.Technical Phone Interview(Math,C/C+
1. given velocity, v(t) find acceleration a(t) and displacement d(t): SImple integral and derivative
2. Question on rank of a matrix and was given a matrix and was asked rank
3. whats characteristic eqn. of a matrix? Was given a matrix and was supposed to find the equation
4. When is a matrix convertible? A matrix was given
5.
given v1=i-j
v2=k;
find a vector perpendicular to v1 and v2... use cross product