HDFC Bank’s Technology Analyst / SDE process is a DSA-plus-SQL loop wrapped around a longer interview chain than most banks - some candidates report a hiring-manager round and a separate senior-leadership round on top of the standard technical and HR stages.
Eligibility and hiring tracks (candidate-reported)
| Track | Typical eligibility | Interview flavour |
|---|---|---|
| Technology Analyst / SDE / software intern | 60-65% or 6.0-6.5+ CGPA throughout; no active backlogs at joining | OA → DSA/SQL/ OOPs → projects → HR (sometimes multi-step leadership) |
| Future Bankers / Personal Banker (Sales) | Graduation in any discipline; program via Manipal Academy of BFSI (~12 months training) | Banking aptitude, products, customer scenarios, sales motivation - not a LeetCode loop |
| Branch / RM / operations (lateral or experienced) | Role-specific; domain and customer-fit heavy | Banking knowledge, targets, compliance scenarios |
Public campus write-ups for software interns sometimes describe a single merged technical+HR round and a steep resume screen (for example 120 applicants down to 25 interviews) rather than four separate technical stages - always match prep to your placement email, not a generic bank template.
HDFC Bank interview process
- Online Assessment90-120 min
- Technical Round 145-60 min
- Technical Round 245-60 min
- HR / managerial round(s)20-30 min each
| Round | Duration | What they test |
|---|---|---|
| Online Assessment | 90-120 min | Aptitude + coding / technical MCQs |
| Technical Round 1 | 45-60 min | DSA, OOPs, SQL |
| Technical Round 2 | 45-60 min | Projects, domain (banking apps), Java/JS/frameworks |
| HR / managerial round(s) | 20-30 min each | Motivation, location, background verification, sometimes a separate leadership round |
HDFC Bank interview questions with answers
Q: How do you check whether a string of brackets is valid?
Use a stack. Scan the string left to right: push every opening bracket, and on every closing bracket pop the top and check it is the matching opener. The string is valid only if every pop matches and the stack is empty at the end - an empty stack on a closing bracket means an unmatched close, and a non-empty stack at the end means an unclosed open. For example “([)]” fails because the ‘)’ pops a ‘[’, while “([])” succeeds. Time complexity is O(n) and space is O(n) in the worst case, where n is the string length.
Q: How do you find duplicates in a stream of numbers?
Keep a hash set of everything seen so far. For each incoming value, check membership first: if it is already in the set it is a duplicate, otherwise insert it. Each lookup and insert is O(1) on average, so processing the whole stream is O(n) time with O(k) space for k distinct values. If the values are known to be bounded - say IDs from 1 to n - you can swap the hash set for a boolean array or bitset and cut memory sharply, which is the follow-up interviewers usually push for.
Q: Write a SQL query to find the nth highest salary.
The portable approach uses DENSE_RANK: SELECT salary FROM (SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rnk FROM employees) t WHERE rnk = 3 for the third highest. DENSE_RANK matters here because RANK skips numbers after ties and ROW_NUMBER gives duplicate salaries different ranks, so both give wrong answers when two people earn the same amount. A simpler engine-specific version is SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 2, where OFFSET is n minus 1. Always mention the tie behavior - that is what the panel is testing.
Q: What is the difference between GROUP BY and a window function in SQL?
GROUP BY collapses rows: ten rows for one department become a single output row, and you lose access to the individual rows. A window function computes an aggregate over a set of rows but keeps every row in the output - SELECT name, salary, AVG(salary) OVER (PARTITION BY dept_id) AS dept_avg FROM employees returns one row per employee with the department average attached. That is why window functions are the natural tool for running totals, rankings, and comparing a row against its group, all of which come up in banking reports.
Q: What is the difference between an INNER JOIN and a LEFT JOIN?
An INNER JOIN returns only rows where the join condition matches on both sides. A LEFT JOIN returns every row from the left table, filling the right table’s columns with NULL where there is no match - so it is how you find customers with no transactions, using LEFT JOIN transactions t ON c.id = t.customer_id WHERE t.customer_id IS NULL. A common trap is putting a condition on the right table in the WHERE clause instead of the ON clause: a WHERE filter on the right table’s columns silently discards the NULL rows and turns your LEFT JOIN back into an INNER JOIN.
Q: Explain abstraction and encapsulation with an example.
Encapsulation is bundling data with the methods that operate on it and restricting direct access to that data - a BankAccount class keeps balance private and exposes deposit() and withdraw(), so no outside code can set a negative balance. Abstraction is exposing only the essential behavior and hiding the implementation - a PaymentMethod interface declares pay(amount) while UpiPayment and CardPayment implement it differently. In short, encapsulation hides data behind access control, abstraction hides implementation behind a contract; encapsulation is a how-to-protect mechanism, abstraction is a what-to-expose design decision.
Q: What is the difference between compile-time and runtime polymorphism?
Compile-time polymorphism is method overloading - several methods share a name but differ in parameter list, and the compiler picks one from the argument types, so transfer(int) and transfer(int, String) are resolved before the program runs. Runtime polymorphism is method overriding - a subclass redefines an inherited method, and the JVM picks the implementation from the object’s actual type at execution time. So Account a = new SavingsAccount(); a.calculateInterest(); runs the SavingsAccount version even though the reference type is Account. Overriding requires an identical signature; overloading requires a different one.
Q: What are ACID properties, and why do they matter in a banking application?
ACID describes the guarantees a database transaction gives. Atomicity means all statements in a transaction succeed or none do - in a fund transfer, the debit and the credit either both land or neither does. Consistency means the transaction moves the database from one valid state to another, respecting constraints such as a non-negative balance. Isolation means concurrent transactions do not see each other’s partial work, which prevents two simultaneous withdrawals from both reading the same stale balance. Durability means once the transaction commits, the change survives a crash because it is written to a persistent log. Banking is the canonical ACID use case precisely because a half-applied transfer is unacceptable.
HDFC Bank interview questions by role
Each route is interviewed for different skills, so prepare for the one your letter names.
Future Bankers / Personal Banker (sales). We found no detailed candidate write-ups of this interview. HDFC Bank confirms there is one, and a 2026 prep guide describes it as video-based. What the published material says it covers:
- Communication fluency, customer-service orientation and problem-solving
- Readiness for a role built on customer acquisition, cross-selling and portfolio management
- The program’s practical conditions: field work, relocation within your allocated state, and the regional language
Relationship Manager (campus and RM-PO). One 2024 campus candidate for an RM role describes a CV shortlist, a gamified assessment, then an interview. Question themes reported:
- Basic balance-sheet and financial-ratio concepts
- Willingness to do field work
- Banking basics such as KYC, CASA and NPA, plus customer-handling scenarios
Technology roles. Public fresher write-ups for HDFC Bank technology roles are limited; the round structure on this page reflects the candidate reports that exist. Themes they report:
- An easy-to-medium DSA problem using stacks or hashing
- SQL joins, window functions and nth-highest queries
- OOP fundamentals and a detailed project walkthrough
- For lateral software roles, Java, Spring Boot, Kafka and design patterns, followed by manager and HR rounds
HDFC Bank online assessment: quick answers
These answers are compiled from public candidate reports, HDFC Bank announcements and prep guides, not from one official notice, and HDFC Bank’s routes use different tests.
| Question | Answer |
|---|---|
| Which route am I on? | Freshers mainly enter through Future Bankers - a one-year program with Manipal Academy of BFSI leading to a Personal Banker role at Deputy Manager grade - or through campus drives for technology and other roles. The Relationship Manager - Probationary Officer exam is a separate route; its 2025 notification asked for 1-10 years of sales experience. |
| Which test platform is used? | Not published for any route. The 2025 RM-PO information handout describes an online test with five options per question and mouse-only navigation. A 2018 campus notice says candidates received login details by email and could use their own laptop with a webcam. |
| What are the sections and duration (RM-PO)? | Prep guides for the 2025 exam list 100 MCQs in 60 minutes: English Language (30), Numerical Ability (35) and Reasoning Ability (35), each with 20 minutes. An interview follows, and final selection uses both stages. |
| What are the sections and duration (Future Bankers)? | HDFC Bank says applicants take an online assessment and an interview before joining the program. A 2026 prep guide lists quantitative aptitude, logical reasoning, English comprehension and basic financial awareness, followed by a video interview. No duration or question count is published. |
| What are the sections and duration (campus)? | A 2018 campus notice lists MCQs on logical reasoning, English, personality profiling and sales potential. Technology drives add a technical or coding section, as described below; candidates report 90-120 minutes in total. |
| Does it have negative marking? | RM-PO prep guides report 0.25 marks per wrong answer. The 2018 campus notice says there is no negative marking. Nothing is published for Future Bankers. |
| Is there a sectional cutoff? | No cutoff figures are published for any route. The RM-PO paper times each section separately, so do not leave one section to chance. |
| What is the eligibility? | Future Bankers: a 2026 prep guide lists any graduate with 50% aggregate, age 21-28 (freshers up to 26), a clean credit history, a two-wheeler and driving licence, and fluency in the local language; older notices said 55% and 21-26. RM-PO 2025: a graduate with 50% in a regular course, up to 35 years, 1-10 years of sales experience. Campus: set by the drive, commonly 60-65% or 6.0-6.5 CGPA with no active backlogs. |
Online Assessment
A 90-120 minute test measuring numeracy, logical ability, and language proficiency, plus a coding/technical section scoped to your specialty area. Shortlist decisions typically arrive within a few days. Some branch and PO-style drives instead emphasize banking aptitude, personality, or knowledge checks without a coding section - confirm format from the invigilator or drive mail before you practice the wrong paper.
Common questions
- Quantitative aptitude and logical reasoning MCQs
- Language/verbal-ability questions
- A timed coding problem (Easy-Medium), clean fully-passing solutions score better than partial cleverness
Technical Round 1
Opens with a DSA coding problem, then moves into OOPs and SQL fundamentals - the two topics candidates say open the most HDFC Bank panels.
Common questions
- Valid parentheses / expression checks (expected approach: stack)
- Find duplicates in a stream (expected approach: hashing)
- SQL + coding hybrid - nth highest salary, joins, window functions
- OOPs fundamentals - abstraction, inheritance, polymorphism with examples
Technical Round 2
Shifts to a detailed project discussion and domain conversation about HDFC Bank’s banking apps. Engineering-heavy roles add Java, JavaScript, or framework questions (Spring Boot, React).
Common questions
- Walk through your project’s architecture, hardest bug, and what you’d rebuild
- Explain a banking-app concept in plain language - inputs, outputs, what breaks at scale
- Java/JS fundamentals or framework-specific questions (Spring Boot, React) for engineering roles
- Bottlenecks and failure modes in a system you’ve built
Round-by-round narratives are on the HDFC Bank interview experience page.
HR / managerial round(s)
A closing conversation on motivation and logistics. Some reports describe this as more than one touchpoint - an HR coordinator’s screening call, a mixed technical+behavioral round with the hiring manager, and occasionally a final senior-leadership discussion - rather than a single HR interview.
Common questions
- Why banking technology / why HDFC Bank?
- Comfort with background verification timelines
- How would you handle an unhappy customer whose complaint you can’t resolve immediately?
- How would you prioritize your day to consistently meet an aggressive sales target?
Sample answer frameworks for each of these are on the HDFC Bank HR interview questions page.
Why the interview chain can run longer than expected
Unlike a single HR round, some HDFC Bank candidates - particularly for Technology Analyst/SDE and off-campus hires - report a longer chain: an HR coordinator’s initial screen, a technical/functional round, a mixed technical+behavioral round with the hiring manager, and a final senior-leadership discussion. Budget closer to 3-4 weeks if your process includes this extra layer, rather than assuming a single closing HR call.
What interviewers score
| Track | Strong signal | Weak signal |
|---|---|---|
| PO / RM / sales | KYC, CASA, product basics + customer STAR | Pure IT prep on a sales role |
| IT / tech | Java/Python/SQL + banking-domain curiosity | LeetCode Hard with zero banking vocabulary |
| HR (all) | Why HDFC + relocation honesty | CEO trivia without role fit |
Pick a track and prep that track. RM interviews score targets and customer handling; tech interviews score fundamentals plus domain awareness.
Red flags that kill HDFC Bank offers
- Confusing PO/RM expectations with pure SDE loops
- Not knowing KYC/CASA/NPA at a basic level on banking roles
- Integrity gaps (unethical colleague scenario handled poorly)
- Refusing every city the letter lists
- “Why banking?” answered only with “stable job”
How to prepare for HDFC Bank interviews
- Loop map: Online Assessment; Technical Round 1; Technical Round 2; HR / managerial round(s). Confirm timings from the drive mail.
- Technical depth: Drill the Q&A section until answers are spoken, not read. Know every resume project cold.
- Experiences: Study round-wise notes on the interview experience page.
- HR: Three STAR stories + a specific “Why HDFC Bank?” on the HR page.
A practical HDFC Bank prep plan
Use this as a default four-week loop before a HDFC Bank drive. Adjust to your invite timeline.
- Week 1: Timed aptitude + one easy coding problem a day, plus a one-page cs fundamentals sheet. Open the HDFC Bank previous-year sets on this site and mark which sections ate your time. Write the timing on a sticky note. That number is more useful than a 200-problem LeetCode streak you never timed.
- Week 2: Most HDFC Bank drives fail people on the first timed paper or OA. Do three timed sits this week. After each one, log every miss in a two-column note: topic and why (slow, wrong formula, bad edge case, panic). The next sit should only add problems from that log.
- Week 3: Technical interviews at HDFC Bank usually want a clean project story, one or two CS fundamentals, and (if the process has it) a behavioral or values round. Write STAR stories on paper, not in your head. Practice “Why HDFC Bank?” with one concrete product, lab, or business line - not a slogan.
- Week 4: Two full mocks, then only error-log topics - no new patterns. If you still have energy, redo only the questions you failed in week 2.
10-day crash version: Days 1-4 timed DSA, days 5-7 resume projects + CS fundamentals, days 8-9 mock interviews out loud, day 10 HR STAR stories on the HR page.
Compensation notes
Candidate-reported fresher/early-career packages for HDFC Bank often cite PO ₹4-6 LPA / IT ₹6-10 LPA / RM ₹3.5-5.5 LPA + incentives.
Frequently asked questions about HDFC Bank interviews
Is the HDFC Bank PO exam open to freshers?
Not in the 2025 cycle. The 2025 Relationship Manager - Probationary Officer notification asked for 1-10 years of sales experience, a regular graduate degree with at least 50% marks and a maximum age of 35. Freshers usually enter through the Future Bankers program with Manipal Academy of BFSI or through campus drives. Check the current notice, because criteria change between cycles.
Does the HDFC Bank online test have negative marking?
It depends on the route. Prep guides for the 2025 Relationship Manager - PO exam report a penalty of 0.25 marks per wrong answer. A 2018 university notice for an HDFC Bank campus aptitude test stated there was no negative marking. Nothing is published for the Future Bankers assessment, so read the instructions on your own test.
What is the HDFC Bank interview process for freshers?
HDFC Bank’s Technology Analyst / SDE process typically runs 4 stages: 1. Online Assessment (90-120 min) - aptitude (numeracy, logical ability, language proficiency) plus a coding/technical section. 2. Technical Round 1 (45-60 min) - DSA, OOPs, and SQL. 3. Technical Round 2 (45-60 min) - projects and domain discussion, sometimes a group discussion at campus drives. 4. HR / managerial round(s) (20-30 min each) - some reports describe this stretching into a hiring-manager round plus a final senior-leadership discussion. Total duration is roughly 2-4 weeks, a bit longer if the extra leadership round is added.
What questions are asked in HDFC Bank interviews?
Coding rounds lean on stack/hashing problems (valid parentheses, find duplicates in a stream) and SQL (joins, window functions, nth-highest queries). Technical rounds also probe Java, JavaScript, and frameworks like Spring Boot or React for engineering roles, plus a detailed walkthrough of your strongest project. Domain conversation centers on HDFC Bank’s banking apps and how they’d hold up at scale.
How many rounds are there in the HDFC Bank interview?
Most fresher drives run 4 stages: Online Assessment, Technical Round 1, Technical Round 2, and HR. Some reports describe an additional layer for experienced or off-campus hires - an HR screening call, a technical/functional round, a mixed technical+behavioral round with the hiring manager, and a final senior-leadership discussion. Check your specific drive’s structure with the placement cell or recruiter.
What is the HDFC Bank technical interview like?
Technical Round 1 (45-60 min) mixes a DSA coding problem - candidates report stack-based problems like valid parentheses, and hashing problems like finding duplicates in a stream - with OOPs and SQL fundamentals. Technical Round 2 shifts into a detailed project discussion (architecture, hardest bug, what you’d rebuild) plus domain questions about HDFC Bank’s banking apps, explained in plain language rather than buzzwords.
How should I prepare for HDFC Bank interviews?
Practice LeetCode-medium DSA and timed SQL queries (joins, window functions) since both open the technical rounds. Revise OOPs, and be ready to discuss Java, JavaScript, or frameworks like Spring Boot/React if the JD lists them. Prepare one detailed project story and a plain-language explanation of banking-app concepts - a coherent explanation beats a high CGPA with weak communication.
What mistakes do candidates commonly make in HDFC Bank interviews?
Coding before clarifying constraints, treating the HR round as a formality, and reaching for system-design jargon without a simple, concrete story. Candidate reports consistently note that connecting your project work to HDFC Bank’s world (banking apps, SQL-heavy systems) lands better than generic answers.
HDFC Bank Future Bankers vs RM-PO vs campus technology hiring
People searching for “HDFC Bank PO” often mean three different routes. They have different eligibility, tests and roles.
| Future Bankers | Relationship Manager - PO | Campus technology and other roles | |
|---|---|---|---|
| Who it is for | Freshers and early-career graduates, through Manipal Academy of BFSI | Graduates with 1-10 years of sales experience (2025 notification) | Students at colleges where HDFC Bank runs a drive |
| Test | Online assessment, then an interview (a 2026 guide says video-based) | 100 MCQs in 60 minutes per 2025 prep guides, then an interview | Aptitude plus a technical or coding section, 90-120 minutes reported |
| Role | Personal Banker at Deputy Manager grade after a one-year program | Relationship Manager | The role named in the drive mailer, for example Technology Analyst |
HDFC Bank vs HDFC Ltd, HDFC Life and HDFC ERGO. HDFC Ltd, the housing-finance company, merged into HDFC Bank on 1 July 2023 and no longer hires under its own name. HDFC Life, HDFC ERGO, HDFC Securities, HDFC AMC and HDB Financial Services are separate group companies with their own hiring. This page covers HDFC Bank only.
Sources
For round-by-round stories, see the HDFC Bank interview experience page. For OA papers and coding drills, use HDFC Bank on placementpapers.app. OA quick answers and the role-wise section draw on HDFC Bank’s 2023 Future Bankers announcement, the 2025 Relationship Manager - PO notification and information handout as summarized by Physics Wallah and Bankers Adda, a 2026 PW Skills Future Bankers guide, a 2018 Navsari Agricultural University placement notice for an HDFC Bank aptitude test, and 2024-2025 Glassdoor candidate reviews. The HDFC Ltd merger date comes from HDFC Bank’s 2023 press release.