Markit Java Interview Questions

Carvia Tech | July 24, 2020 | 2 min read | 91 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

  1. Explain the concept of String immutability. What is String pool. How will you create your own String like class.

  2. Explain Serialization. Overriding writeObject method.

  3. What is a class loader.

  4. What are Java locks. class level lock vs lock on objects.

  5. HashMap, ConcurrentHashMap, TreeSet internal implementation.

  6. What are Cyclic barrier and countdown latch.

  7. Implement producer-consumer problem in core java.

  8. How to make a Lock object wait for lock.

  9. How will you implement your own thread-safe Semaphore in Core Java?

Algorithm and Design

  1. You have an input stream of millions of numbers. Which is the suitable data structure for this kind of situation?

  2. What is "Hashing" concept and how is it implemented in java.

  3. Design your own Queue, PriorityQueue(using heap).

  4. Program to find the highest prime number less than a given number.

  5. Design a stack using linked list

  6. Write a program to implement a binary search tree and print the elements in-order.

Design Patterns

  1. Discussion on singleton design pattern: lazy initialization, eager initialization, also using inner classes. Difference between different approaches. why is one better than another?


  1. which one is better constructor injection or setter injection.


  1. What is Left Outer Join in RDBMS.

  2. SQL question including joins, group by

  3. 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.

  4. A probability question (probability of getting minimum two 3’s if i roll 2 dice).

  5. why do you want to leave your current organization etc.

Buy my ebook for complete question bank

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:

Buy from Shunya (DRM Free PDF download with updates)

investment banking:
  1. ION Trading Java Interview Questions
  2. Goldman Sachs Java Interview Questions for Senior Developer
  3. RBS Java Programming Interview Questions
  4. Morgan Stanley Java Interview Questions
  5. UBS Java Interview Questions
  6. Java topics covered in Investment Banking Interviews (Morgan Stanley, Barclays, RBS, UBS, BlackRock)
  7. Citibank Java developer interview questions
See all articles in investment banking
Top articles in this category:
  1. UBS Java Interview Questions
  2. Morgan Stanley Java Interview Questions
  3. Sapient Global Market Java Interview Questions and Coding Exercise
  4. Citibank Java developer interview questions
  5. Goldman Sachs Java Interview Questions for Senior Developer
  6. ION Trading Java Interview Questions
  7. Multi-threading Java Interview Questions for Investment Bank

Find more on this topic:
Java Interviews image
Java Interviews

Interview - Product Companies, eCommerce Companies, Investment Banking, Healthcare Industry, Service Companies and Startups.

Last updated 1 week ago

Recommended books for interview preparation:

This website uses cookies to ensure you get the best experience on our website. more info