Math Interview Questions

432+ real questions from verified interview reports across 12 companies.

Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.

432
Questions
12
Companies
12
Top Askers

Top Companies Asking Math Questions

Sample Math Questions

Bob is a studious boy. He is very interested in solving difficult mathematical problems in no time. By seeing his talent, Bob\'s teacher gave him a problem and asked him...

Question1: Given 3 integers m,n,r, find the smallest positive integer \'a\' such that (ma)%n = r. e.g. m = 5, n = 3, r = 1 -> (52)%3 = 1, answer...

Round 1(OA) - 2 leetcode hard medium(solved) 1 hard(13/15 testcases passed). Round 2(Interview)(didn't clear) - Q1 - You are given an integer array nums of size n and an integer x. Return the number o

Don't confuse this with TPP. Although it seems like a small company, they gave me an online assessment (OA) after I submitted. There were two questions: One was given a string, "12:35," and the output

**1st Round DSA Interview** **1. Water Jug Problem** Reference: LeetCode Question 365. **2. Maximum Elements Made Equal With k Updates** **Problem Statement:** Given an array `nums[]` and a value `k`,

LeetCode #2964: Number of Divisible Triplet Sums. Difficulty: Medium. Topics: Array, Hash Table. Asked at Visa in the last 6 months.

LeetCode #3649: Number of Perfect Pairs. Difficulty: Medium. Topics: Array, Math, Two Pointers, Sorting. Asked at Visa in the last 6 months.

LeetCode #202: Happy Number. Difficulty: Easy. Topics: Hash Table, Math, Two Pointers. Asked at Visa in the last 6 months.

LeetCode #258: Add Digits. Difficulty: Easy. Topics: Math, Simulation, Number Theory. Asked at Visa in the last 6 months.

LeetCode #2544: Alternating Digit Sum. Difficulty: Easy. Topics: Math. Asked at Visa in the last 6 months.

LeetCode #9: Palindrome Number. Difficulty: Easy. Topics: Math. Asked at Infosys in the last 6 months.

LeetCode #1819: Number of Different Subsequences GCDs. Difficulty: Hard. Topics: Array, Math, Counting, Number Theory. Asked at Infosys in the last 6 months.

LeetCode #3666: Minimum Operations to Equalize Binary String. Difficulty: Hard. Topics: Math, String, Breadth-First Search, Union-Find, Ordered Set. Asked at Infosys in the last 6 months.

LeetCode #223: Rectangle Area. Difficulty: Medium. Topics: Math, Geometry. Asked at Tesla in the last 6 months.

LeetCode #356: Line Reflection. Difficulty: Medium. Topics: Array, Hash Table, Math. Asked at Yandex in the last 6 months.

LeetCode #66: Plus One. Difficulty: Easy. Topics: Array, Math. Asked at Intuit in the last 6 months.

LeetCode #43: Multiply Strings. Difficulty: Medium. Topics: Math, String, Simulation. Asked at Two Sigma in the last 6 months.

LeetCode #2249: Count Lattice Points Inside a Circle. Difficulty: Medium. Topics: Array, Hash Table, Math, Geometry, Enumeration. Asked at Rubrik in the last 6 months.

LeetCode #2235: Add Two Integers. Difficulty: Easy. Topics: Math. Asked at Akamai in the last 6 months.

LeetCode #593: Valid Square. Difficulty: Medium. Topics: Math, Geometry. Asked at Pure Storage in the last 6 months.

LeetCode #1404: Number of Steps to Reduce a Number in Binary Representation to One. Difficulty: Medium. Topics: String, Bit Manipulation, Simulation. Asked at General Motors in the last 6 months.

LeetCode #598: Range Addition II. Difficulty: Easy. Topics: Array, Math. Asked at IXL in the last 6 months.

LeetCode #412: Fizz Buzz. Difficulty: Easy. Topics: Math, String, Simulation. Asked at Mastercard in the last 6 months.

LeetCode #12: Integer to Roman. Difficulty: Medium. Topics: Hash Table, Math, String. Asked at UiPath in the last 6 months.

LeetCode #13: Roman to Integer. Difficulty: Easy. Topics: Hash Table, Math, String. Asked at Virtusa in the last 6 months.

See All 432 Math Questions

Full question text, interview context, and company-specific frequency data for subscribers.

Get Access

Related Topics