Endianness Mismatch - Quant Trader Interview Question
Difficulty: Hard
Category: Code Analysis
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: endianness, data-representation, network-protocol, integer-conversion
Problem Description
Your trading system receives market data from a network feed. The feed sends price updates as 32-bit integers in big-endian format. Your system, however, interprets these integers as little-endian.
A price update arrives with the hexadecimal value 0x00000064. If your system incorrectly interprets this value as little-endian, what decimal value will your system display as the price?
Practice this hard trader interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.