Exclusive | 150 Most Frequently Asked Questions On Quant Interviews

| # | Question | Difficulty | Key Idea | |---|----------|------------|-----------| | 116 | Write a function to compute Fibonacci numbers efficiently. | ★ | Memoization or iteration | | 117 | What is the difference between a list and a tuple in Python? | ★ | Mutable vs immutable | | 118 | How do you reverse a linked list? | ★★ | Iterate with prev/next | | 119 | What is the complexity of quicksort? | ★ | Avg O(n log n), worst O(n²) | | 120 | What is a hash table? | ★ | O(1) average lookup | | 121 | Write a function to check if a string is a palindrome. | ★ | Two pointers | | 122 | What is recursion? Example. | ★ | Function calling itself | | 123 | What is the difference between depth-first and breadth-first search? | ★ | Stack vs queue | | 124 | What is a binary search tree? | ★ | Left < root < right | | 125 | How do you detect a cycle in a linked list? | ★★ | Floyd’s cycle detection | | 126 | What is dynamic programming? | ★★ | Overlapping subproblems | | 127 | Write a function to compute the nth prime. | ★★ | Sieve of Eratosthenes | | 128 | What is the difference between a process and a thread? | ★ | Separate memory vs shared | | 129 | What is a deadlock? | ★★ | Mutual waiting | | 130 | What is the difference between map and reduce ? | ★ | Apply vs aggregate | | 131 | How do you sort a large file that doesn’t fit in memory? | ★★ | External sort | | 132 | What is a generator in Python? | ★ | Lazy iteration using yield | | 133 | What is a decorator? | ★★ | Wrapper function | | 134 | What is the GIL in Python? | ★★ | Global interpreter lock | | 135 | Write a function to compute the dot product of two vectors. | ★ | sum(a*b for a,b in zip(v1,v2)) |

"Linearity of expectation. First die average 3.5, second die average 3.5. So 3.5 – 3.5 = 0." 150 Most Frequently Asked Questions On Quant Interviews

: Focus on covariance and correlation matrices, which are foundational for risk management and machine learning. Strategies for Success | # | Question | Difficulty | Key

Ask the CTASC AI Tile Expertx
×
Chatbot