Chubb β’ Java Full Stack Senior Engineer: hiring test prep
Questions with model answers for the HackerRank test and the technical rounds that follow: coding problems, SQL, Java output puzzles, streams and concurrency, Spring Boot and microservices, Angular and JavaScript, Azure and DevOps, and senior-level design. Click a question to reveal its answer, or use Mock 10 for a random round.
What's known about the Chubb test (read this first)
The process (candidate reports, 2021β2025)
- HackerRank online test, then 1β2 technical rounds (Hyderabad or Bengaluru; sometimes one is face to face), then a managerial or director round, then HR. Glassdoor rates the difficulty at about 2.5β3 out of 5. Timelines range from 2 to 6 weeks.
- Technical rounds for lead and full stack roles focused on Core Java, Spring Boot and microservices. Hyderabad full stack candidates mention Angular and Node basics. Recent senior reports add SQL queries, OOP, design patterns in your own project, and "What is OAuth?". Several people said their resume projects were probed in depth.
- Chubb India's current full stack postings ask for Angular + Spring Boot microservices, often on Azure, with 6β10 years of experience for senior roles.
Likely shape of the HackerRank test
- Chubb doesn't publish the format, and it varies by role. Reports include 60-minute tests with 2β3 coding problems (easy to medium), a 2-hour test for a lead role, and some tests with MCQs. Full stack HackerRank tests commonly mix coding problems, an SQL query, and MCQs on Java, Spring, Angular/JavaScript and SQL, sometimes with a REST API problem. Check your invite email: it lists the sections and the time limit.
- Coding problems reported at Chubb: balanced brackets, hex to binary, rat in a maze, N-Queens, linked-list cycle, a bitwise AND problem, minimum-cost grid path, greedy profit maximization and array rotation. They're tagged Reported below, with the topics that came up in interviews.
Test-day plan
- First 3 minutes: open every section and note how many points each question is worth. Do MCQs quickly (about 45 seconds each; flag and move on).
- Easiest coding problem first. Submit a working brute force early to bank partial test cases, then optimize. HackerRank scores each test case separately.
- Use
long for sums. Run your own edge cases (empty input, n = 1, duplicates, negatives) before submitting. Remove debug prints.
- Pick the newest Java version in the language dropdown. Every coding solution here compiles as Java 8 too, in case that's all you're offered.
- The test is proctored: webcam and tab switches are tracked. Stay in the tab.
Schema used in the SQL answers
customer(customer_id PK, name, city, dob)
policy(policy_id PK, customer_id FK, product, premium, start_date, end_date, status)
claim(claim_id PK, policy_id FK, claim_amount, status, filed_on)
employee(emp_id PK, name, dept_id FK, salary, manager_id FK -> employee)
department(dept_id PK, dept_name)
Verification
- All coding solutions, stream pipelines and "what does this print" answers were compiled and run on a JDK, so the outputs shown are real. The SQL answers were run against sample data (dialect notes for MySQL and PostgreSQL are inline).
- For design and behavioural questions, replace the template stories with your own project. Interviewers probe the details.
Sources