HCL Graduate Engineer Trainee Interview — DSA, OOP and Project Defence
- Field
- Engineering
- Company
- HCL Technologies
- Role
- Graduate Engineer Trainee
- Duration
- 20 min
- Difficulty
- Easy
- Completions
- New
- Updated
- 2026-05-24
What this round is about
- Topic focus. A 45 to 60 minute HCL Graduate Engineer Trainee technical round covering your final-year project, one DSA snippet, OOP fundamentals, SQL joins, and process versus thread.
- Conversation dynamic. Priya Kumar, Senior Engineering Manager at HCL Hyderabad, runs the round like a real campus drive: warm open, sharp middle, encouraging close. She interrupts on every we built and on every textbook answer without a real example.
- What gets tested. Ownership clarity, conceptual depth on CSE basics with one real example each, code-writing fluency on basic DSA, honest admission of gaps, and one concrete reason for HCL.
- Round format. Conversation paired with a live canvas where the DSA problem appears as a card — sketch your linked-list pointers or self-join shape there, or dictate code line by line if you prefer. A methodology tracker on the right edge ticks as you cover each must-have beat.
- Time budget. Around five minutes warm-up plus self-intro, twenty on the project plus OOP plus SQL block, ten on the DSA snippet, and the last five on why-HCL plus relocation. Priya keeps the clock visible and does not extend the round for verbose answers.
What strong answers look like
- First-person project ownership. Sounds like: I wrote the Python Flask backend and the MySQL schema for our hospital app; my teammate built the React frontend. I picked MySQL over MongoDB because appointments link to patients link to doctors.
- OOP with real code example. Sounds like: I used inheritance in my project — my Doctor class extends Person because Doctor has every field a Person has plus a specialization and a license number.
- Actual SQL syntax for joins. Sounds like: SELECT e1.name FROM employee e1 JOIN employee e2 ON e1.manager_id equals e2.id JOIN employee e3 ON e2.manager_id equals e3.id. Not English pseudocode.
- Honest knowledge boundary. Sounds like: I do not remember the exact difference between malloc and calloc, but I know both allocate heap memory and calloc initializes to zero — let me think through what else.
- Concrete process-versus-thread anchor. Sounds like: a process owns its own address space and the OS gives it isolated memory pages, while threads share the parent process's heap and only have their own stack and registers — that is why thread context switches are cheaper but a single thread crash can take down the whole process.
What weak answers look like (and how to avoid them)
- We built blur. Replace every we with I or with my teammate did X while I did Y. The interviewer interrupts within 30 seconds of a we.
- Textbook OOP recital. Inheritance is reusing code is a definition, not an answer. Always pair the definition with one example from your own code.
- Pseudocode for SQL. When asked to write a query, write SELECT and JOIN keywords. English sentences fail this beat.
- Resume tech without snippet. Listing React or Docker without being able to write a five-line snippet ends the interview early.
- Process-versus-thread cliche. Saying 'process is heavy and thread is light' with no memory-layout or context-switch reason. Mitigation: always pair the heavy/light claim with one structural fact — separate address space versus shared heap, or kernel-level versus user-level scheduling.
Pre-interview checklist (2 minutes before you start)
- Recall your project in 60 seconds. Rehearse a first-person walkthrough naming files or modules you personally wrote.
- Have one OOP example ready. Pick one of the four pillars and tie it to one class in your code.
- Pull up one SQL join. Be ready to write an INNER JOIN and a SELF JOIN in actual syntax, not English.
- Think of one process versus thread anchor. One sentence on the memory layout difference plus one example from any program you have run.
- Identify your why HCL. One concrete reason — a project on your resume that ties to BFSI, a specific HCL product, or the program fit.
- Re-read one technical decision you would reverse today. Priya asks this in the reflection block and rewards self-aware answers.
How the AI behaves
- Probes every claim. Asks for the file you wrote, the line of code, the row in the table — never accepts the headline alone.
- No mid-interview praise. Will not say great answer or perfect. Acknowledges the specific content in 5 to 15 words then pushes deeper or raises an objection.
- Interrupts on we built. Within 30 seconds of any we when ownership was asked, she will cut in and ask what YOU built.
- Pivots when stuck. If you stall on DSA she switches to a project question and circles back later instead of letting you freeze.
- Drives back to ownership on every collective answer. Priya does not let any 'we built' slide for more than two beats — expect a direct 'what did YOU specifically write?' immediately after, even mid-sentence.
Common traps in this type of round
- We built blur. Using collective voice when the question was about individual contribution.
- Textbook OOP. Reciting four pillars with no example from your own code.
- Pseudocode for SQL. Writing English sentences when actual SELECT JOIN syntax was asked for.
- Resume tech bluff. Listing React, Docker, or MongoDB but unable to write a 5-line snippet.
- Process versus thread cliche. Saying process is heavy and thread is light without the memory-layout reason.
- Any IT company is fine. Answering why HCL with a non-answer that signals zero motivation.
Sample problems you'll face
The 2 problems below are the same ones you'll work through in the live session — no surprises. Read the constraints carefully; the AI persona will refer you to the on-canvas card by problem number.
- 1DSA — Reverse a Linked List
Reverse a singly linked list in place and walk through your code for the sample input. Priya will follow with a self-join SQL query — you can sketch your approach for both on this canvas.
Example input1 → 2 → 3 → 4 → NULLExample output4 → 3 → 2 → 1 → NULL- In-place — no extra array/list allocation beyond pointers
- Use the canvas to sketch your logic — draw, write pseudocode, or freehand whatever helps you think — explain your loop invariant
- After coding: trace through the sample input, then state edge cases (NULL head, single node)
- 2SQL — Employee Self-Join
Write a SQL query to return employees whose managers themselves have managers (3-level hierarchy). Use the Employee table with empId, name, managerId. Priya expects actual SELECT/JOIN/ON syntax, not pseudocode.
Example inputEmployee table: (1, Alice, NULL), (2, Bob, 1), (3, Carol, 2), (4, Dan, 3)Example outputCarol, Dan- Use real SELECT / JOIN / ON syntax — no pseudocode shortcuts
- Alias the Employee table at least twice for the self-join
- Dictate line by line if you need to — Priya will read along on the canvas
- Use the canvas to sketch your logic — draw, write pseudocode, or freehand whatever helps you think.
Interview framework
You will be scored on these 6 dimensions. The full rubric with definitions is below.
What we evaluate
Your final scorecard breaks down across these dimensions. The full rubric and tier criteria are revealed inside the interview itself.
- Project Ownership (First-Person Signal)25%
- CSE Fundamentals (Example-Grounded Depth)20%
- Code Writing Fluency (Dictated Line by Line)18%
- Honest Knowledge Boundary (Under Pressure)15%
- HCL Motivation Specificity12%
- Communication Discipline (Fresher-Appropriate)10%
Common questions
Sources this interview is built on
Real candidate-report URLs (Glassdoor / AmbitionBox / PrepInsta / GeeksforGeeks / Medium) reviewed when authoring the questions, persona, and rubric. Verify the realism yourself.
- HCLTech Reports FY24 Revenue of $13.3 Billion, up 5.4% YoYhcltech.com
- 6,955 HCLTech Interview Questions and Answers - Glassdoorglassdoor.co.in
- HCL SDE Sheet: Interview Questions and Answers - GeeksforGeeksgeeksforgeeks.org
- HCL Coding Questions and Answers 2025 - PrepInstaprepinsta.com
- HCL Graduate Engineer Trainee Campus Interview Experience [2024] - GeeksforGeeksgeeksforgeeks.org
- Top 10 Placement Companies for AI and Data Science in Pondicherry - SMVECsmvec.ac.in