surebright logo

Surebright Interviews

1 experience5 reads
Interview experince | SureBright | Java developer
surebright logo
Surebright
Java developer2.9 years
May 28, 20255 reads

Summary

I interviewed for a Java developer role at SureBright. The process involved two rounds covering technical concepts in Node.js, database knowledge, API design, and several data structures & algorithms problems. I ultimately declined to proceed after the second round due to a discrepancy in salary expectations.

Full Experience

2.9 YOE

Round 1: what is async/await nodejs how to join in mongodb what is right outer join in mysql reverse stack without using a memory print pyramid

Round 2: Login flow API otp base login write API request response ability to allow login to multiple device but not same session token Given a range [start, end], find how many combinations of count numbers within that range sum up to sum. only n numbers allowed

why not use mysql as cache instead of redis DB internals nodejs

EDIT-> My CTC -> 12.5 LPA CTC -> ₹10L – ₹25L • No equity (mentioned on the post) OA -> No Final verdict -> I said no in the Round 2

Reason -> He asked what is expected salary i said whatever written on job post i am ok with it he was like vaha tho bohot likha h (i didn't liked this) i belive it was last cause he was asking if i am ok to work on notice period cause he was thinking i might not join after taking offer letter

Interview Questions (13)

Q1
Async/Await in Node.js
Other

Explain what async/await is in Node.js.

Q2
Joins in MongoDB
Other

Explain how to perform joins in MongoDB.

Q3
Right Outer Join in MySQL
Other

Explain what a right outer join is in MySQL.

Q4
Reverse Stack In-Place
Data Structures & Algorithms

Reverse a stack without using any additional memory.

Q5
Print Pyramid Pattern
Data Structures & Algorithms

Print a pyramid pattern.

Q6
Login Flow API Design
System Design

Design the API for a login flow.

Q7
OTP Based Login
System Design

Discuss or design an OTP (One-Time Password) based login system.

Q8
API Request/Response Design
System Design

Discuss how to write API request and response structures.

Q9
Multi-Device Login with Unique Session Tokens
System Design

Discuss how to allow a user to log in from multiple devices while ensuring each device has a unique session token.

Q10
Combinations Sum within Range
Data Structures & AlgorithmsHard

Given a range [start, end], find how many combinations of 'count' numbers, chosen from within that range, sum up to 'sum'.

Q11
MySQL vs Redis for Caching
System Design

Discuss why MySQL might not be suitable as a cache compared to Redis.

Q12
Database Internals
Other

Questions related to database internals.

Q13
Node.js Concepts
Other

General questions about Node.js.

Have a Surebright Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Surebright.