Most of these questions has been answered in my eBook "Cracking the Core Java Interview" updated on June 2018, that you can buy from this link:
Markit Java Interview Questions
Upasana | October 01, 2020 | 2 min read | 215 views | investment banking
Most investment banking companies need skills like inheritance, multi-threading, concurrency, collections, java design patterns, spring framework, basic knowledge of database - indexes, joins and working knowledge of queue etc.
Core Java
-
Explain the concept of String immutability. What is String pool. How will you create your own String like class.
-
Explain Serialization. Overriding writeObject method.
-
What is a class loader.
-
What are Java locks. class level lock vs lock on objects.
-
HashMap, ConcurrentHashMap, TreeSet internal implementation.
-
What are Cyclic barrier and countdown latch.
-
How to make a Lock object wait for lock.
-
How will you implement your own thread-safe Semaphore in Core Java?
Algorithm and Design
-
You have an input stream of millions of numbers. Which is the suitable data structure for this kind of situation?
-
What is "Hashing" concept and how is it implemented in java.
-
Design your own Queue, PriorityQueue(using heap).
-
Program to find the highest prime number less than a given number.
-
Design a stack using linked list
-
Write a program to implement a binary search tree and print the elements in-order.
Design Patterns
-
Discussion on singleton design pattern: lazy initialization, eager initialization, also using inner classes. Difference between different approaches. why is one better than another?
Spring
-
Which one is better constructor injection or setter injection.
-
What is cyclic dependency of beans, how will you resolve that?
Misc
-
What is Left Outer Join in RDBMS.
-
SQL question including joins, group by
-
1 puzzle: there is a 2d array. the numbers in the array increase as you go down and as you move from left to right. find any given number with minimum complexity.
-
A probability question (probability of getting minimum two 3’s if i roll 2 dice).
investment banking:
- Finastra Investment Banking Interview Questions
- Goldman Sachs Java Interview Questions
- Java topics covered in Investment Banking Interviews (Morgan Stanley, Barclays, RBS, UBS, BlackRock)
- Morgan Stanley Java Interview Questions
- UBS Java Interview Questions
- ION Trading Java Interview Questions
- Citibank Java developer interview questions
Top articles in this category:
- Sapient Global Market Java Interview Questions and Coding Exercise
- Morgan Stanley Java Interview Questions
- Citibank Java developer interview questions
- UBS Java Interview Questions
- Goldman Sachs Java Interview Questions
- ION Trading Java Interview Questions
- Multi-threading Java Interview Questions for Investment Bank