J'ai passé un entretien chez Quantum Machines en oct. 2023
Entretien
There is a test for 1.5 hours that they sent you.
There are 3 code questions.
And you also have to record to 1 minute videos.
1 video is about what was your technical challenge at your job in last 2 years.
2 video is about which technology would you like to learn?
Questions d'entretien [1]
Question 1
//What will be minimum and maximum number //that will be printed?
class AbcThread extends Thread{
private int[] _arr;
public MyThread(int[] arr){
this._arr = arr;
}
public void run(){
for (int i=0;i<20 ; i++) {
this._arr[0]++;
}
}
public static void main(String[] args) {
int[] arr ={0};
try {
MyThread t1 = new MyThread(arr);
MyThread t2 = new MyThread(arr);
t1.start();
t2.start();
t1.join();
t2.join();
}catch(Exception ex){
System.out.println("Exception "+ex);
}
System.out.println(arr[0]);
}
}