Hudson River TradingSoftware EngineerAlgorithm EngineerQuestion #24

Given a function that takes a sentence as a string, write the missing conditions in the if/else statements to return 'digit' if the first character is a number, 'Upper' if it is an uppercase letter, or 'Lower' if it is a lowercase letter.

Unlock the Full Solution

Enter your email to get the detailed step-by-step solution to this Hudson River Trading interview question, plus access to free interview prep resources.

We'll also send you a free HFT mock interview video.

Get All 58+ Hudson River Trading Questions with Solutions

Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.

Schedule a Call