Intuit Interview Questions

Prepare for success with our curated collection of interview questions. Designed to help students practice and build confidence, these questions cover a range of topics and real-world scenarios to get you ready for your next interview.
Q1: Reverse a Linked List (Iterative & Recursive)

Description: Given a singly linked list, reverse it using both iterative and recursive approaches, taking care of null and single-node lists.

Test Cases :

  • Input: 1 → 2 → 3 → 4 → 5
    Output: 5 → 4 → 3 → 2 → 1

  • Edge Input: null
    Output: null

  • Edge Input: 42
    Output: 42

Description: For a singly linked list, find the node in the middle of the list.
Test Cases:

  • Input: 1 → 2 → 3 → 4 → 5
    Output: 3

  • Input: 6 → 7 → 8 → 9
    Output: 8

  • Edge Input: 99
    Output: 99

Description: Given a linked list, reverse every consecutive group of k nodes in place.

Test Cases :

  • Input: head: 1 → 2 → 3 → 4 → 5, k = 2
    Output: 2 → 1 → 4 → 3 → 5

  • Input: head: 1 → 2 → 3 → 4 → 5 → 6, k = 3
    Output: 3 → 2 → 1 → 6 → 5 → 4

  • Input: head: 1 → 2, k = 3
    Output: 2 → 1

Description: Check if a string containing (), {}, [] is balanced (every open bracket has a corresponding close in the correct order).
Test Cases:

  • Input: “({[]})”
    Output: true

  • Input: “([)]”
    Output: false

  • Edge Input: “”
    Output: true

Description: Out of all key-value pairs, find any one pair of values whose sum is equal to a target value.

Test Cases :

  • nput: pairs = [(1, 5), (2, 3), (3, 8), (4, 2)], target = 10
    Output: (5, 5) or (2, 8)

  • Edge Input: pairs = [(7, 4)], target = 8
    Output: No valid pair

Description: Given a string, reverse the letters in each word in place, using only constant extra space.

Test Cases:

  • Input: “hello world”
    Output: “olleh dlrow”

  • Input: “a b c”
    Output: “a b c”

  • Edge Input: “”
    Output: “”

Description: Given a matrix where each cell is orange (fresh, rotten, or empty), determine the time needed for all oranges to rot, where rotting spreads to adjacent cells each minute.

Test Cases :

  • Input: grid = [,,]
    Output: 4

  • Input: grid = [,,]
    Output: -1

  • Edge Input: grid = []
    Output: 0

Description: Given an array, rearrange into the next lexicographically greater permutation. If none exists, return the lowest possible order.

Description: Find area of the largest rectangle of 1’s in a binary histogram or matrix.

Test Cases:

  • Histogram Input:
    Output: 10

  • Matrix Input: [,,,]
    Output: 6

Description: Given an array, find the maximum sum possible such that no two chosen elements are adjacent.

Test Cases:

  • Input:
    Output: 13

  • Input:
    Output: 15

  • Edge Input: []
    Output: 0

Description: Given positive integers, find the longest subsequence where all numbers are consecutive.

Test Cases:

  • Input:
    Output: 4

  • Input: [36, 41, 56, 35, 44, 33, 34, 92, 43,
    Output: 5

Description: Given a binary tree, return its height using both recursion and iteration.

Test Cases:

  • Input: Tree with nodes:

    3
    / \
    9 20
    / \
    15 7

    Output: 3

  • Edge Input: null
    Output: 0

  • Edge Input: Single node (7)
    Output: 1

Description: Implement a stack using standard queue operations.

Test Cases:

  • Input Sequence: push(1), push(2), top(), pop(), top()
    Output: 2, 2, 1

Q1. Spring Boot Project: REST API & Service Layer

Description: Add or extend APIs in a given Spring Boot codebase, designing the controller, service, and data layers. Implement pagination, error handling, and write unit/integration tests.

Description: Implement add, delete, mark-complete, and search for a todo list.

Description: Design base class (SchoolMember), and extend for Student and Teacher with common and unique properties. Implement methods like getTotalStrength(), getStudentInfo(), getTeacherSubjects().

Description: Use Java concurrency to implement producer and consumer logic using a blocking queue.

Description: End-to-end code for a ride-sharing platform, including user journeys, ride booking, and robust RESTful design.

Q1. CAP Theorem & ACID Properties Discussion

Description: Explain the CAP theorem, database isolation levels, and when to use systems that prioritize consistency, availability, or partition-tolerance.

Description: Architect a scalable, robust system for online bidding (auctions), handling thousands of concurrent users, efficient bid submission, and real-time winner updates.

Description: End-to-end system design for modern e-commerce, covering catalog, orders, inventory, payments, user management, scaling, caching, resiliency.

Description: Design APIs to efficiently handle heavy loads, proper pagination, rate limiting, error handling, and handle thundering herd problem.

Q1. Machine Learning Basics and Vector Database

Description: General discussion on core ML principles — what is machine learning, when to use, K-means clustering, RAG (retrieval augmented generation), vector embeddings/DB, reinforcement learning, neural networks.

WhatsApp Icon

Hi Instagram Fam!
Get a FREE Cheat Sheet on System Design.

Hi LinkedIn Fam!
Get a FREE Cheat Sheet on System Design

Loved Our YouTube Videos? Get a FREE Cheat Sheet on System Design.