OneBanc interview experience Real time questions & tips from candidates to crack your interview

Frontend Developer

OneBanc
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
It was a mixed experience. The questions ranged from easy to medium, and they were looking for a candidate with strong DSA and frontend skills. It was a dynamic interview where questions from different domains were asked together for the role.
Application story
I applied while feeling a bit nervous, as it was one of the first companies visiting our college. In the first round, I panicked, but I was accurate with the details of the topics asked. After clearing the first round, I gained some confidence and went with the flow in the remaining rounds. I could have performed better and secured the job if I had a deeper understanding of DSA concepts, but it was a valuable learning experience.
Preparation
Duration: 1 month
Topics: HTML, CSS, OOP, JavaScript, data structures and algorithms, quantitative aptitude, mental aptitude
Tip
Tip

Tip 1: Focus on DSA, as it is key to higher-paying jobs.

Tip 2: Work on different projects in parallel and gradually strengthen both frontend and backend skills.

Application process
Where: Campus
Eligibility: 7 CGPA, (Salary Package - 10 LPA)
Resume Tip
Resume tip

Tip 1: Be genuine with your projects.

Tip 2: Showcase some DSA-related achievements.

Interview rounds

01
Round
Easy
Group Discussion
Duration60 minutes
Interview date4 Apr 2025
Coding problem0

The group discussion round was based on the topic: “How would you determine the number of iPhone users in India?” We were required to present our approach to solving the problem and politely point out any flaws in others’ solutions.

02
Round
Medium
Online Coding Interview
Duration3 Days
Interview date9 Apr 2025
Coding problem0
Web problem/projects3

1. Technical assignment – Levenshtein distance algorithm

Implement and Apply Edit Distance Algorithms

Question Statement:
Develop two string comparison functions: one that calculates the standard Levenshtein distance and another that calculates a cost-constrained version of the Levenshtein distance, both optimized for correctness and efficiency (O(n × m) time complexity, where n and m are the lengths of the strings). Write these functions in a programming language of your choice.

For the standard function levenshtein_distance(str1, str2), test it using the following input-output pairs and include snapshots of your results:

  • Input: "kitten", "sitting" → Expected Output: 3
  • Input: "flaw", "lawn" → Expected Output: 2
  • Input: "algorithm", "logarithm" → Expected Output: 3

2. Basic spell-checker

Based on the levenshtein_distance function, build a basic spell checker. Given a dictionary of words, the program should suggest the closest match for a user-provided input. For example, with the dictionary ["cat", "bat", "rat", "drat", "dart"] and the input "dat", your program should return "bat" or another word with the smallest edit distance.

3. Calculate minimum cost

Calculates the minimum cost to convert one string into another based on user-defined costs for insertion (Ci), deletion (Cd), and substitution (Cs). Test your function using the following input and submit snapshots of your output:

Input: "kitten", "sitting" with Ci = 1, Cd = 2, Cs = 3 → Expected Output: 7

03
Round
Medium
Face to Face
Duration60 minutes
Interview date22 Apr 2025
Coding problem5

1. Chocolate Pickup

Hard
29m average time
0/120
Asked in companies
AppleOracleChegg Inc.

Ninja has a 'GRID' of size 'R' X 'C'. Each cell of the grid contains some chocolates. Ninja has two friends Alice and Bob, and he wants to collect as many chocolates as possible with the help of his friends.

Initially, Alice is in the top-left position i.e. (0, 0), and Bob is in the top-right place i.e. (0, ‘C’ - 1) in the grid. Each of them can move from their current cell to the cells just below them. When anyone passes from any cell, he will pick all chocolates in it, and then the number of chocolates in that cell will become zero. If both stay in the same cell, only one of them will pick the chocolates in it.

If Alice or Bob is at (i, j) then they can move to (i + 1, j), (i + 1, j - 1) or (i + 1, j + 1). They will always stay inside the ‘GRID’.

Your task is to find the maximum number of chocolates Ninja can collect with the help of his friends by following the above rules.

Example:
Input: ‘R’ = 3, ‘C’ = 4
       ‘GRID’ = [[2, 3, 1, 2], [3, 4, 2, 2], [5, 6, 3, 5]]
Output: 21

Initially Alice is at the position (0,0) he can follow the path (0,0) -> (1,1) -> (2,1) and will collect 2 + 4 + 6 = 12 chocolates.

Initially Bob is at the position (0, 3) and he can follow the path (0, 3) -> (1,3) -> (2, 3) and will colllect 2 + 2 + 5 = 9 chocolates.

Hence the total number of chocolates collected will be 12 + 9 = 21. there is no other possible way to collect a greater number of chocolates than 21.
Try solving now

2. Aptitude Test

Quantitative and mental aptitude questions were asked, including topics like work and time, mixtures, blood relations, directions, and number series. A total of 60 questions were given to be solved in 45 minutes.

3. Stack and queue difference

Tell me the difference between a stack and a queue. (Learn)

4. OOP Concepts

  • Explain OOP concepts and describe its four pillars. (Learn)
  • Explain the memory consumption of different data types such as arrays and integers.

5. Web Basics

Some basic JavaScript concepts and questions related to HTML and CSS locators.

04
Round
Hard
Face to Face
Duration60 minutes
Interview date30 Apr 2025
Coding problem2

1. Graph Concepts

  • Graph-related questions on BFS and DFS.
  • How do Zomato drivers move on the map without a refresh?

2. Dashboard Task

Given a time duration, I needed to create a basic health-related dashboard based on a reference provided earlier and implement it on my device.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which data structure is used to implement a DFS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
5027 views
0 comments
0 upvotes
Frontend Developer
3 rounds | 4 problems
Interviewed by OneBanc
0 views
1 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6697 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3720 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Frontend Developer
3 rounds | 11 problems
Interviewed by Amdocs
2567 views
0 comments
0 upvotes