Absolutely. Here are easy DSA + fintech scenario-based interview questions, with short answers suitable for an interview.
Two Sum — Given an array and target, find two numbers whose sum equals the target.
Approach: HashMap — O(n).
Find duplicates — Find duplicate elements in an array.
Approach: HashSet — O(n).
Reverse a string — Reverse a given string.
Approach: Two pointers or StringBuilder — O(n).
Valid Parentheses — Check whether brackets are properly balanced.
Approach: Stack — O(n).
Find maximum element — Find the largest number in an array.
Approach: Iterate once — O(n).
Remove duplicates — Remove duplicates from a sorted array.
Approach: Two pointers — O(n).
Palindrome — Check whether a string reads the same forward and backward.
Approach: Two pointers — O(n).
First non-repeating character — Find the first character appearing only once.
Approach: HashMap + second traversal — O(n).
Duplicate payment: A customer accidentally sends the same payment twice. How would you prevent duplicate processing?
Answer: Use an idempotency key and store the transaction result against that key.
Payment timeout: Payment succeeds at the bank, but your API times out. What would you do?
Answer: Use transaction status lookup/reconciliation rather than blindly retrying the payment.
Fraud detection: How would you identify suspicious transactions?
Answer: Check amount, frequency, location, device, transaction history, and predefined fraud rules.
Payment API: How would you design a payment API?
Answer: Validate request → authenticate → idempotency check → process payment → persist status → return response.
High traffic: Thousands of payments arrive simultaneously. How would you handle them?
Answer: Load balancing, horizontal scaling, queues, database optimization, and idempotent processing.
Failed payment: Payment fails halfway through processing. What should happen?
Answer: Maintain clear transaction states such as PENDING, SUCCESS, and FAILED, with reconciliation for uncertain states.
Why can't we simply retry every failed payment?
Answer: Retrying can cause duplicate charges if the original payment actually succeeded but the response was lost.
The following metrics were computed from 3 interview experiences for the MishiPay Software Engineer role in India.
MishiPay's interview process for their Software Engineer roles in India is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for MishiPay's Software Engineer interview process in India.