I had two interviews on our college campus. I received a rejection after that, so I am not sure of the next steps.
Given a binary tree (not a BST), print the nodes at a given level n passed as an input parameter.
Here is how the method definition looked:
java public void printLevel(Node root, int level)
java class A { public A() { foo(); }
public void foo() {
System.out.println("Class A");
}
}
class B extends A { public B(){}
public void foo() {
System.out.println("Class B");
}
}
class Main { public static void main(String[] args) {
A a = new B();
a.foo(); // Added this line to show the output
}
}
What does it print? Class A or Class B?
The following metrics were computed from 470 interview experiences for the Bloomberg LP Software Engineer role in New York, New York.
Bloomberg LP's interview process for their Software Engineer roles in New York, New York is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Bloomberg LP's Software Engineer interview process in New York, New York.