Recently interviewed with Paytm for SDE3/backend role. Sharing the interview process and some questions asked.
Interview Process:
Topics asked:
Question 1 — Subset Sum
Given an array of positive integers and a target, determine whether there exists a subset whose sum equals the target.
If found, print any valid subset.
Otherwise print:
"No subset found"
Example:
arr = [3, 34, 4, 12, 5, 2]
target = 9
Main concepts:
Question 2 — Spring Transactional Behavior
Asked to explain:
Code:
@Service
public class OrderService {
@Transactional
public void placeOrder() {
saveOrder();
sendNotification();
}
@Transactional
public void saveOrder() {
// persists order to the database
}
public void sendNotification() {
throw new RuntimeException("Email service down");
}
}Main discussion points:
Combination of:
Focus areas:
Topics:
Overall interview focus:
Hope this helps others preparing for Paytm backend/SDE3 interviews.