Coder Pad interview round for Java backend developer. Interviewer will share a Hackerrank link and will ask us to solve it in screen share. We will need to explain our solution and the interviewer may ask questions on the code you are writing.
package Interviews; /**
import java.util.*; import java.util.stream.Collectors;
public class AvgMaxGrade {
static Map<String, List
static {
subjectToStudentsMap.put("Physics", Arrays.asList(
new Student("Rahul", "Garg", 25,"Science", 40),
new Student("Sidd", "Bhatia", 30,"Science", 50),
new Student("Monica", "Mishra", 26, "Science", 30)
));
subjectToStudentsMap.put("Chemistry", Arrays.asList(
new Student("Rahul", "Garg", 25,"Science", 46),
new Student("Neha", "Jain", 33,"Science", 48),
new Student("Monica", "Mishra", 26,"Science", 46)
));
subjectToStudentsMap.put("Maths", Arrays.asList(
new Student("Vishal", "Garg", 24,"Commerce", 44),
new Student("Abhishek", "Kakkar",22, "Commerce", 43),
new Student("Monica", "Mishra", 26,"Science", 48)
));
}
public static void main(String[] args) {
//Write your code here }
class Student implements Comparable { String firstName; String lastName; double score; String stream; int age;
public Student(String firstName, String lastName, int age, String stream, double score) {
this.firstName = firstName;
this.lastName = lastName;
this.score = score;
this.age = age;
this.stream = stream;
}
@Override
public int compareTo(Object o) {
Student s2 = (Student) o;
return Double.compare(s2.score, this.score);
}
@Override
public String toString() {
return "Student{"
+ "firstName='" + firstName + "'"
+ ", lastName='" + lastName + "'"
+ ", score=" + score
+ ", stream='" + stream + "'"
+ ", age=" + age
+ "}";
}
}
The following metrics were computed from 15 interview experiences for the Morgan Stanley Software Engineer role in Bengaluru, Karnataka.
Morgan Stanley's interview process for their Software Engineer roles in Bengaluru, Karnataka is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Morgan Stanley's Software Engineer interview process in Bengaluru, Karnataka.