Company Interview Questions · Banking & Fintech
PayPal, Razorpay & Paytm: Data Science / ML
PayPal, Razorpay & Paytm: Data Science / ML Interview Experiences. Rounds, real reported questions and model answers, compiled from public candidate reports (sources at the end). Practice mode hides every answer: say your answer first, press Show answer, then rate yourself. Use 🔁 Review again to build your revision list and 🎲 Random question for a quick drill.
About this interview
Compiled from public candidate reports for PayPal Data Science roles (Bengaluru campus, November 2025; Santa Clara, October 2025) and public interview-process guides for Razorpay Data Scientist and Paytm ML roles. The questions are paraphrased, and the model answers are written by EasyLearnSpace.
| PayPal | Razorpay | Paytm | |
|---|---|---|---|
| Role | Data Science Intern / Data Scientist | Data Scientist | ML Engineer / Data Scientist |
| Rounds | Online test → shortlist → 1-hour interview; or recruiter → 1 hour (30 min coding + 30 min ML concepts) | Recruiter → technical video call → 3–5 onsite rounds (DS, engineering, product) → leadership (may present a case) | Guide: DSA, SQL and ML-heavy question bank |
| Topics | AI, ML, RAG, stats, probability, GenAI, genetic algorithms; build a regression model from raw data | Overfitting, model evaluation, p-values, A/B testing, CLT, bagging vs boosting, cohort retention SQL | Churn, feature importance, recommendations, A/B significance |
| Basis | Candidate reports | Process guide | Question guide |
01Rounds at a glance
- Fintech data science = risk + growth: fraud, credit, payments success rates, merchant analytics and experimentation.
- Expect statistics and A/B testing at Razorpay and Paytm, and GenAI/RAG questions increasingly at PayPal.
02Questions and model answers
Q1
Build a regression model from raw data. Walk through the cleaning and modelling.
- Understand the target and the grain (e.g. predict monthly merchant volume). Check duplicates, the date range and leakage.
- Clean: - Fix data types. - Handle missing values (median + indicator) and outliers (cap or log). - Encode categoricals. - Use time-aware splits.
- Baseline: last value or mean; then linear/Ridge regression; then gradient boosting.
- Evaluate: RMSE/MAE (and MAPE if the scale varies); residual plots; error by segment.
- Explain: coefficients or SHAP; document the assumptions.
Q2
Design and analyse an A/B test for a new checkout flow.
- Hypothesis and metric: the primary metric is payment success rate; guardrails are latency, refunds and support tickets.
- Sample size: from the baseline rate, the minimum detectable effect, α = 0.05 and power 0.8. Randomise by user (not session), run full weeks, and avoid peeking (or use sequential testing).
- Analysis:
- Two-proportion z-test or a bootstrap confidence interval.
- Check for sample-ratio mismatch.
- Segment checks (device, bank).
- CUPED for variance reduction.
- Decide: ship if the lift is significant and the guardrails hold. Report the effect size with its confidence interval.
Q3
What does the Central Limit Theorem say, and why does it matter?
- For independent, identically distributed samples with finite variance, the sampling distribution of the mean approaches a normal distribution N(μ, σ²/n) as n grows, regardless of the underlying distribution.
- Why it matters: it justifies z/t tests and confidence intervals for means and proportions in A/B tests, even for skewed metrics such as revenue, given enough samples.
- Caveats: heavy tails need larger n (or bootstrap / log transforms), and dependent samples break the assumption.
Q4
z-test vs t-test: when do you use each?
- z-test: the population variance is known, or the sample is large (n > ~30, by the CLT). Proportions in large A/B tests use z-tests.
- t-test: the variance is unknown and estimated from a small sample, using the t distribution with heavier tails. Use Welch's t-test when variances are unequal; use a paired t-test for before/after on the same units.
Q5
SQL: compute monthly cohort retention for merchants.
WITH first_month AS (
SELECT merchant_id, DATE_TRUNC('month', MIN(txn_date)) AS cohort
FROM transactions GROUP BY merchant_id
), activity AS (
SELECT DISTINCT merchant_id, DATE_TRUNC('month', txn_date) AS active_month FROM transactions
)
SELECT f.cohort,
(EXTRACT(YEAR FROM a.active_month) - EXTRACT(YEAR FROM f.cohort)) * 12
+ EXTRACT(MONTH FROM a.active_month) - EXTRACT(MONTH FROM f.cohort) AS month_n,
COUNT(DISTINCT a.merchant_id) AS active
FROM first_month f JOIN activity a USING (merchant_id)
GROUP BY 1, 2 ORDER BY 1, 2;
- Divide by the cohort size at month 0 to get retention percentages, and plot them as a heatmap.
Q6
PayPal: how would you use RAG to help fraud investigators?
- Corpus: fraud playbooks, past case notes, policy rules, typology write-ups.
- Assistant flow: 1. The investigator opens a case. 2. The system retrieves similar past cases (embedding similarity over case summaries) and the relevant playbook steps. 3. The LLM drafts a case summary, a suggested next action and the evidence checklist, with citations.
- Controls:
- The LLM never decides alone; the human investigator approves.
- PII is minimised; access is role-based.
- Audit logs.
- An evaluation of summary faithfulness and time-to-resolution.
- Impact metric: cases handled per investigator per day, plus decision consistency.
Q7
What is a genetic algorithm? Where might it be used?
- An evolutionary optimisation method: 1. Keep a population of candidate solutions. 2. Evaluate their fitness. 3. Select the best, apply crossover (combine parents) and mutation (random changes). 4. Repeat for many generations.
- Good for non-differentiable, combinatorial search: feature selection, hyperparameter search, scheduling, routing.
- Trade-offs: no gradient needed, but slow and stochastic. Alternatives are Bayesian optimisation or simulated annealing.
03How to prepare
- Statistics and experimentation: CLT, z/t tests, p-values, power, A/B pitfalls.
- SQL: cohorts, moving averages, window functions.
- ML for fintech: fraud, churn, credit; for PayPal also RAG/GenAI basics.
Sources
- Glassdoor: PayPal Data Science interview reviews (2025)
- Interview Query: Razorpay Data Scientist guide
- Interview Query: Paytm guides
Created by Ajeetkumar