Problem database last updated: June 20, 2025

HHudson River Trading logo

Hudson River Trading Coding Interview Questions

9 problems · 4 Easy, 2 Medium, 3 Hard · Ranked #168 of 458

Difficulty breakdown

4 Easy

44% · avg 23%

2 Medium

22% · avg 59%

3 Hard

33% · avg 18%

Top topics

array
44.4%
graph
33.3%11.2x
math
33.3%2.6x
string
22.2%
greedy
22.2%2.6x
enumeration
11.1%13.6x

Interview profile

Based on 9 reported problems, Hudson River Trading interviews are significantly harder than average - 33% Hard vs 18% across all companies.

Compared to the industry average, Hudson River Trading puts unusual emphasis on graph (33.3% of problems, 11.2x the industry average), math (33.3% of problems, 2.6x the industry average), greedy (22.2% of problems, 2.6x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (44.4%), graph (33.3%), math (33.3%), string (22.2%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 9 problems

Detect Pattern of Length M Repeated K or More Times

Solve

Given an array of positive integers arr, find a pattern of length m that is repeated k or more times.

EasyVery Likely
arrayenumeration

Add Edges to Make Degrees of All Nodes Even

Solve

There is an undirected graph consisting of n nodes numbered from 1 to n. You are given the integer n and a 2D array edges where edges[i] = [ai, bi] indicates th...

HardVery Likely
hash-tablegraph

Longest Path With Different Adjacent Characters

Solve

You are given a tree (i.e. a connected, undirected graph that has no cycles) rooted at node 0 consisting of n nodes numbered from 0 to n - 1. The tree is repres...

HardVery Likely
arraystringtree

Maximum Total Importance of Roads

Solve

You are given an integer n denoting the number of cities in a country. The cities are numbered from 0 to n - 1.

MediumVery Likely
greedygraphsorting

Convert Integer to the Sum of Two No-Zero Integers

Solve

No-Zero integer is a positive integer that does not contain any 0 in its decimal representation.

EasyVery Likely
math

Number of Steps to Reduce a Number to Zero

Solve

Given an integer num, return the number of steps to reduce it to zero.

EasyVery Likely
mathbit-manipulation

Maximum 69 Number

Solve

You are given a positive integer num consisting only of digits 6 and 9.

EasyVery Likely
mathgreedy

Maximum Score From Grid Operations

Solve

You are given a 2D matrix grid of size n x n. Initially, all cells of the grid are colored white. In one operation, you can select any cell of indices (i, j), a...

HardVery Likely
arraydynamic-programmingmatrix

Remove Comments

Solve

Given a C++ program, remove comments from it. The program source is an array of strings source where source[i] is the ith line of the source code. This represen...

MediumLikely
arraystring

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Hudson River Trading interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Hudson River Trading coding interview

Hudson River Trading interviews focus heavily on array, graph, math problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Hudson River Trading interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Hudson River Trading ask in interviews?add

Hudson River Trading has been reported to ask 9 distinct coding problems. The most common topics are array, graph, math. 4 are Easy difficulty, 2 are Medium, and 3 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Hudson River Trading coding interviews?add

Based on 9 reported problems, Hudson River Trading interviews are significantly harder than average - 33% Hard vs 18% across all companies. 22% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Hudson River Trading coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, graph, math. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Hudson River Trading interview?

Simulate a real Hudson River Trading coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Hudson River Trading interview with AIarrow_forward