The India Campus OA
- Rate-limit IPs over a 10-minute sliding window, then stream a log too big for memory
- Know the format of the 2026 campus sets and the topics they covered
- Build a 75-minute practice set that matches the real test
Visa ran its India campus drives from September to November 2026. Wherever the online test's format was described, it was a HackerRank-style set of three coding problems. RV College of Engineering in Bengaluru got 75 minutes for its set on October 31, 2026. IIIT Bangalore's set was three coding problems, and IIT ISM Dhanbad's was three DSA problems on HackerRank.
Most of the problems were array and string work. Candidates named things like maximal score after k operations, the fewest swaps to balance a string of parentheses, a maximum sum valid subsequence and a triplet sum. There was one undirected graph problem, a friends-of-friends recommendation lookup and two implementation tasks, a cache query handler and a user rating level. The rate limit over a request log below is the problem with two Visa reports, so it gets the full treatment.
The Visa campus OA format in 2026
The campus test differs from the one experienced hires take. Through January 2026 most experienced and US candidates sat CodeSignal's four-problem test, scored out of 600. Since February most reports describe a tiered HackerRank assessment instead. The campus sets were three problems on HackerRank or something like it.
Each college got its own set, and the sets overlapped only a little. IIT BHU and IGDTUW both had a problem called minimum operations to empty an array, and RV College's minimum operations to convert an array to zero sounds like the same task. IIT ISM Dhanbad's friend recommendations problem came up twice. Most other problems turned up once. A shuttle missions problem from the October drives is worked in the Visa OA lesson, since it also showed up on a 2025 intern CodeSignal test.
Expect arrays and strings, solved in one pass with the right structure: a queue per key, a heap, or a counter over the input. Hidden tests reward the fast version, so name the brute force in your head and write the faster one.
Asked at Visa
Rate-limit IPs from a log file
Two Visa reports share this shape. In October 2026 an IIT BHU campus set had a problem called requests in the previous 10 minutes, which starts from a sorted array of request timestamps. A year and a half earlier, in May 2025, a candidate with ten months of experience got it in a first technical round. Their interviewer opened on what a DDoS attack is and how to stop one, then asked for the IPs making more than x requests in a 10-minute window.
The version below uses the live round's framing, with timestamps and IPs together. With a single IP it comes down to counting requests in the last 10 minutes, which is where the campus problem starts.
Rate-Limit IPs in a 10-Minute Window
Problem
timestamps[i] is the time of request i and ips[i] is the IP that sent it, and the timestamps never go down, the way a log file is written.An IP is flagged if at any moment it has made more than
limit requests in the last 10 minutes. The 10 minutes ending at time t hold every request with a timestamp greater than t - 600 and at most t.Return the flagged IPs in sorted order, or an empty list if there are none. The log has up to 100,000 requests.
IP a sends three requests within 200 seconds, which is more than 2.
Keep a queue of recent timestamps for each IP. When a request arrives, pop every time at or before t - 600 from the front of that IP's queue, then compare its length with limit.
Rate-Limit IPs in a 10-Minute Window
Click "Run" to execute your code
Common questions
What are the Visa OA questions for campus hires in 2026?
Mostly array and string problems. The September to November 2026 India drives included an IP rate limit over a 10-minute window, maximal score after k operations, the fewest swaps to balance parentheses and minimum operations to empty an array. The rate limit is worked above, and a two-schedule mission problem from the same drives is in the OA lesson.
Is the Visa campus OA on HackerRank?
The IIT ISM Dhanbad set was labelled HackerRank, and the other 2026 campus sets with a stated format were also three problems. Off campus, intern and new grad reports since February 2026 mostly name HackerRank's "Coding - Intermediate" test, though one UK new grad got the Beginner tier. December 2025 intern tests ran on CodeSignal, so check the platform named in your invite.
How long is the Visa campus online assessment?
Three problems. The one drive with a stated time, RV College of Engineering on October 31, 2026, gave 75 minutes. Plan for about 25 minutes a problem, and finish the easiest one fast so the hardest one gets more.
How to practice for the Visa campus OA
Build a 75-minute set of three, the same shape as the real test: the rate limit above, the mission problem from the OA lesson, and an array medium such as maximal score after k operations. Write each from a blank file, and before you run it, make up the edge case that would break it, like a gap of exactly 600 seconds. After the OA, the intern and new grad lesson covers the technical rounds that follow it.
Key Takeaways
- ✓The 2026 India campus OA was a set of three coding problems, with 75 minutes at one October drive.
- ✓The IP rate limit with a 10-minute window has two Visa reports, a 2026 campus set and a 2025 live round.
- ✓Most campus problems were array and string work. Practice them on a 25-minute timer each.
- ✓Hidden tests reward the fast version, so skip the brute force and write the queue, heap or counter answer.
Visa interview guideKnow what Visa asks before you walk in.
30 coding · 8 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.