VISA New Grad 面经

OCR:

  1. https://leetcode.com/problems/validate-binary-search-tree
  2. Given houses and 3 colors cost to paint in the form of a matrix find minimum cost to paint all houses such that no adjacent houses can have same paint. https://leetcode.com/problems/paint-house (premium)

电面

  1. Find kth largest element in a BST https://leetcode.com/problems/kth-smallest-element-in-a-bst
  2. Explain merge sort.

Onsite:

Round 1:

  1. https://leetcode.com/problems/partition-equal-subset-sum
  2. Given 2 strings find minimum characters need to be removed to make them anagrams of each other https://www.geeksforgeeks.org/remove-minimum-number-characters-two-strings-become-anagram

Round 2:

  1. Some puzzle(I dont remember)
  2. https://leetcode.com/problems/reverse-linked-list (this was Director’s round)

Round 3:

  1. https://leetcode.com/problems/number-of-islands
  2. https://leetcode.com/problems/find-median-from-data-stream
  3. https://leetcode.com/problems/sliding-window-maximum