Google India Placement Papers
2025 & 2026 — Questions, Answers & Tips
Year-wise Papers
About the Google Placement Test
Google 2026 campus hiring includes a new AI/ML-specific track for SWE roles. The 4-round onsite format remains, but one round now focuses on ML system design for ML engineer roles. Google has emphasized hiring for Gemini and Google Cloud products in India.
Section-wise Breakdown
Online Coding Assessment
3 QuestionsTechnical Phone Screen
2 QuestionsOnsite — Coding
4 QuestionsOnsite — Behavioral (Googliness)
1 QuestionsSample Questions
Online Coding Assessment
Q1. What is the output of this Python code? arr = [1, 2, 3, 4, 5] print(arr[-2])
Explanation:
arr[-2] accesses the second element from the end. In [1,2,3,4,5], that is index 3 which has value 4.
Q2. What does this code return? def f(n): return n if n <= 1 else f(n-1) + f(n-2) f(5)
Explanation:
This is a Fibonacci function. f(0)=0,f(1)=1,f(2)=1,f(3)=2,f(4)=3,f(5)=5.
Q3. What is the space complexity of an algorithm that uses a single variable regardless of input size?
Explanation:
O(1) or constant space complexity means memory usage does not grow with input size. A single variable takes constant space.
Q4. Which sorting algorithm has the best average-case time complexity?
Explanation:
Merge Sort has O(n log n) average and worst case. Bubble, Insertion, and Selection sort are O(n²) on average.
Q5. What is printed? for i in range(1, 6): if i == 3: continue print(i, end=' ')
Explanation:
The continue statement skips the rest of the loop body when i==3. So 3 is not printed. Output: 1 2 4 5.
Technical Phone Screen
Q1. What is the output of: int x = 5; printf('%d', x++);
Explanation:
Post-increment: x++ returns current value (5) then increments. So printf prints 5, and x becomes 6 after the statement.
Q2. Which SQL clause is used to filter groups after GROUP BY?
Explanation:
WHERE filters individual rows before grouping. HAVING filters groups after GROUP BY. Example: GROUP BY dept HAVING COUNT(*) > 5.
Q3. What data structure is used for BFS (Breadth First Search)?
Explanation:
BFS uses a Queue (FIFO) to explore nodes level by level. DFS uses a Stack (LIFO) or recursion to explore depth-first.
Q4. What is the time complexity of binary search?
Explanation:
Binary search halves the search space at each step. With n elements, it takes at most log₂(n) comparisons. Time complexity = O(log n).
Q5. In OOPS, what is method overloading?
Explanation:
Method overloading (compile-time polymorphism) allows multiple methods with the same name but different parameter types or count. Example: add(int,int) and add(double,double).
Onsite — Coding
Q1. What is the output of this Python code? arr = [1, 2, 3, 4, 5] print(arr[-2])
Explanation:
arr[-2] accesses the second element from the end. In [1,2,3,4,5], that is index 3 which has value 4.
Q2. What does this code return? def f(n): return n if n <= 1 else f(n-1) + f(n-2) f(5)
Explanation:
This is a Fibonacci function. f(0)=0,f(1)=1,f(2)=1,f(3)=2,f(4)=3,f(5)=5.
Q3. What is the space complexity of an algorithm that uses a single variable regardless of input size?
Explanation:
O(1) or constant space complexity means memory usage does not grow with input size. A single variable takes constant space.
Q4. Which sorting algorithm has the best average-case time complexity?
Explanation:
Merge Sort has O(n log n) average and worst case. Bubble, Insertion, and Selection sort are O(n²) on average.
Q5. What is printed? for i in range(1, 6): if i == 3: continue print(i, end=' ')
Explanation:
The continue statement skips the rest of the loop body when i==3. So 3 is not printed. Output: 1 2 4 5.
How to Crack Google Placement Test
- 1.ML engineer track: know transformer architecture basics and fine-tuning concepts
- 2.Googliness round 2026: focus on user impact and inclusive design in answers
- 3.Competitive programming background (ICPC, Codeforces) significantly helps
- 4.Graph algorithms: Dijkstra, BFS/DFS, topological sort are high-frequency
- 5.Phone screen: interviewers look for clean, modular code with good naming
Other Company Papers
Cleared the Test? Get Matched to Google Job Alerts
JobHuntDaily notifies you the moment Google and similar companies open fresher applications — before it goes viral on LinkedIn.
Get Job Alerts — Start for ₹2