All Companies

IMC Trading Interview Questions

94 real interview questions at IMC Trading.

Showing 61–90 of 94 questions

61

1) What is the minimum number of moves required for a knight, when a bishop is also available, to reach a target square on a chessboard? 2) Implement a stack data structure that supports push, pop, and peek operations, as well as additional functions to return the sum of all elements and increment all elements by a given value.

Software EngineerSoftware Developer
62

Describe the data structures and algorithms needed for a program that keeps track of checked out books for a library. The program should: 1. Check out books for a member with a library card, 2. Return books, 3. Find all books that are overdue and who has them checked out, 4. Find all books that are due tomorrow. Note: New releases and popular books have shorter checkout periods than normal books.

Software EngineerSoftware Engineer
63

Implement a tic-tac-toe game.

Software EngineerSoftware Engineer
64

Is an immutable object always thread safe? Explain your reasoning.

Software EngineerSoftware Engineer
65

Is searching through a sorted binary tree (binary search tree) always more efficient in terms of complexity than binary search?

Software EngineerSoftware Engineer
66

What is the Big O notation for common operations performed on a heap? What about operations on a hashmap?

Software EngineerSoftware Engineer
67

How would you implement a trade matching engine? The API for it should support: (1) adding Buy/Sell orders (these methods should return a Trade if an existing order matches the new one), (2) deleting pending orders, and (3) getting market depth or demand (i.e., range of buy/sell prices and total volume of pending orders at each price).

Software EngineerSoftware Engineer
68

Given a string, find the longest possible valid password, where a valid password is defined by specific rules (such as containing at least one uppercase letter, one lowercase letter, and one digit).

Software EngineerSoftware Engineer
69

What is the difference between a set and a list?

Software EngineerSoftware Developer
70

Given a binary tree, return all nodes whose value is greater than that of all their ancestors (i.e., nodes that are visible from the root along any path).

Software EngineerSoftware Developer
71

Determine whether two given words are anagrams of each other.

Software EngineerSoftware Developer
72

Given a telephone keypad display with the numbers arranged as: 1 2 3 4 5 6 7 8 9 You press a random number, then move to a random adjacent number (no diagonals), then move again to a random adjacent number (again, no diagonals). You record the three numbers in order to form a three-digit number (e.g., 569). What is the probability that the resulting number is divisible by 2?

TraderQuant Trading Intern
73

Given six distinct weights labeled 101, 102, 103, 104, 105, and 106, three weights are placed on each side of a balance scale. What is the probability that the weight labeled 106 is on the heavier side of the scale?

TraderQuant Trading Intern
74

How many integers less than 100000 contain two consecutive '1's in their decimal representation?

TraderQuant Trading Intern
75

Draw the payoff diagrams for buying and selling a call option and a put option.

TraderTrading
76

Brainteaser: If there are 27 clinks (glasses clinking) in a room, how many people are there?

TraderTrading
77

What is the expected number of coin flips required for two players, who take turns flipping, to get two tails in a row?

TraderQuant Trader
78

Can you perform binary search on a linked list? Explain why or why not.

Software Engineer InternSWE Intern
79

What is a race condition?

Software Engineer InternSWE Intern
80

What does amortized runtime mean?

Software Engineer InternSWE Intern
81

Explain the central limit theorem in a way that non-STEM students can understand.

Quant Researcher InternQuant Research Intern
82

What is the expected value of a six-sided die?

Trader InternTrader Intern
83

Derive the Central Limit Theorem for a sequence of independent coin tosses.

Trader InternTrader Intern
84

What is a pointer and a shared pointer? How do you manage object ownership using these in programming?

Software Engineer InternSoftware Engineering Intern
85

Five people are sitting at a circular table. What is the probability that they are seated in the order of their birthdays?

TraderGraduate Trader Program
86

What makes a good hash function? Describe the key characteristics and properties that define an effective hash function.

Software Engineer InternSoftware Engineering Intern
87

1) Given a chessboard size, a knight's starting position, an end position, and a bishop's position, find the minimum number of moves required for the knight to reach the end position. The knight cannot move to any square that the bishop is attacking, unless it captures the bishop on that square. 2) Implement a stack with the following functions: pop, push, inc, isEmpty, and peek. The inc function should increase the first n elements of the stack by a value i.

Software Engineer InternSoftware Engineering Intern
88

What is the minimum number of moves required for a knight to reach a target position on a chessboard, given that there is a bishop present which threatens certain squares? The knight cannot move to squares attacked by the bishop.

Software Engineer InternSoftware Engineer Intern
89

Implement a stack data structure with an additional method increment(k, v), which increments the bottom k elements of the stack by the value v.

Software Engineer InternSoftware Engineer Intern
90

Describe a stack and a queue to someone who does not have a background in data structures.

Software Engineer InternSoftware Engineer Intern

Want the full solutions?

Get detailed walkthroughs for all 94+ IMC Trading questions with Quant Blueprint.

Get Started