InterviewLegend

Java Streams, Spring & SQL

Alex Chen45 min readGuide updated

Some Visa coding rounds skip the LeetCode problem and ask for the code you'd write at work. A January 2026 Senior round for a Java and React role had no DSA at all. The candidate grouped employees by department with Java streams, built a Product class with CRUD operations in Spring and JPA, then wrote a JavaScript function that fetches from an API.

The newest is a November 2026 campus round that wanted five pandas filters. In August 2026 a Software Engineer I round asked for an order schema and a top spenders query, and a Senior round that same month asked for a RAG pipeline built from Python interfaces. Streams grouping goes back further: three rounds since 2022, the latest being that January one.

Spring and a live database don't fit in a browser editor, so each problem below is a runnable Python model of the task. The Java or SQL you'd write in the room sits right next to it.

The Visa angle
Fluency counts more than cleverness here. These rounds check whether you write everyday Java, SQL and Python without reaching for the docs. In April 2025 a candidate forgot the sorted syntax, and the interviewer accepted list.sort instead. Know the idioms cold, and name the fallback when one slips.

VisaPremium lesson · Coding round

The 3 Visa problems are below.

  1. A Premium questionCoding · Easy · Frequently asked
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Visa questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Visa interview guide

Know what Visa asks before you walk in.

30 coding · 8 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Visa interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.