Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by OneCard Team. If you also belong to the team, you can get access from here

OneCard Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

OneCard Software Engineer Interview Questions and Answers

Updated 10 Feb 2025

OneCard Software Engineer Interview Experiences

2 interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I was interviewed in Jan 2025.

Round 1 - Coding Test 

Test was based on arrays and some dsa concepts.

Software Engineer Interview Questions & Answers

user image Kishan KAVATHIYA (Kishu)

posted on 15 May 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Internal Implementation of HashMap
  • Ans. 

    HashMap is implemented using an array of linked lists to handle collisions.

    • HashMap stores key-value pairs in an array of linked lists

    • Hash function is used to determine the index of the array where the key-value pair will be stored

    • Collision handling is done by chaining, where multiple key-value pairs with the same hash value are stored in the same linked list

    • HashMap allows null keys and values

    • HashMap is not synchronized...

  • Answered by AI

Skills evaluated in this interview

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Bridge and torch problem : Four people come to a river in the nig ... read more
asked in Capgemini
Q2. In a dark room,there is a box of 18 white and 5 black gloves. You ... read more
asked in TCS
Q3. Find the Duplicate Number Problem Statement Given an integer arra ... read more
Q4. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q5. Puzzle : 100 people are standing in a circle .each one is allowed ... read more

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Mar 2023. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. All About Java & OOPS concepts
  • Q2. SQL Query & Questions
  • Q3. Spring Boot, Spring, Microservices Questions
Round 2 - Technical 

(4 Questions)

  • Q1. Microservices Questions
  • Q2. Spring & Spring Boot Questions
  • Q3. Iot Questions & Vision-Goals Question
  • Q4. Communication and Checking Ability to work in Different Teams
Interview experience
4
Good
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed before May 2023. There were 2 interview rounds.

Round 1 - Coding Test 

I was given to solve two DS problems

Round 2 - Assignment 

I was to integrate a simple use case in android

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be confident and keep sharing what you are doing and why you are doing.

I was interviewed in Jan 2022.

Round 1 - Video Call 

(1 Question)

Round duration - 40 Minutes
Round difficulty - Medium

Round 1 was mainly focused on data structures and algorithms ,core java concepts and dbms

  • Q1. You are given a string. What is the minimum number of characters that need to be inserted to convert it into a palindrome?
  • Ans. 

    The minimum number of characters needed to convert a string into a palindrome is the length of the string minus the length of the longest palindromic subsequence of the string.

    • Find the longest palindromic subsequence of the given string.

    • Subtract the length of the longest palindromic subsequence from the length of the original string to get the minimum number of characters needed to convert it into a palindrome.

  • Answered by AI
Round 2 - Video Call 

Round duration - 40 to 50 min
Round difficulty - Medium

Focussed mainly on projects and system design

Round 3 - Video Call 

Round duration - 30 Minutes
Round difficulty - Medium

Managerial round

Round 4 - HR 

Round duration - 20 Minutes
Round difficulty - Easy

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Software Engineer in GurgaonEligibility criteria1+ year of experienceAirtel interview preparation:Topics to prepare for the interview - 1. Data Structure and algorithms (arrays, queue, stack, LinkedList, Dynamic programming,Graph,Trees) 2. DBMS 3.System Design(might not asked to freshers) 4.Core and advanced Java 5. Computer Networks (not much)6. Operating SystemsTime required to prepare for the interview - 1.5 - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Make you Data Structure and algorithms , Problem solving strong ( use to do some dsa problems on code studio and leetcode daily.
Tip 2 : Practiced Quality questions and mostly asked questions list available on codestudio( used company tags and topic tags) as quality matters more than quantity of questions .
Tip 3 : Give mock interviews, this really helped me as it gives you clearity and builds confidence.
Tip 4 : Read respective company’s interview experiences available on codestudio and other websites before going to actual interview, as this gives you idea about level of interviews and you can prepare beforehand.
Tip 5 : after solving dsa problem .Try to look in discussion section too as you can get more optimised or more efficient approach used by others to solve the problem.
Tip 6 : Prepare important concepts from Operating system,DBMS,System design too as that might also be asked.
Tip 7 : Do atleast 2 quality projects.
Not a Tip But : Lot of quality content available online, whenever felt like stuck with some concepts take help from senior or colleagues ( I use to watch coding ninja shorts by parikh jain whenever felt demotivated or stuck with concepts)

Application resume tips for other job seekers

Tip 1 : Have a concise resume , don't fill your resume with unnecessary details like your address, relationship status etc.
Tip 2 :Resume should not be more than 2 pages( try to make it very concise in 1 page)

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Not remembered. It was a campus interview. Its been a 2 years.

Round 2 - One-on-one 

(2 Questions)

  • Q1. Tell me about your self.
  • Q2. Why you want to join?

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident.

Interview Questionnaire 

32 Questions

  • Q1. Discussion on the rectangular board question asked in prev round
  • Q2. How will you implement a shuffle function for a playlist of songs
  • Ans. 

    Implementing a shuffle function for a playlist of songs

    • Create a new empty playlist

    • Randomly select a song from the original playlist and add it to the new playlist

    • Remove the selected song from the original playlist

    • Repeat until all songs have been added to the new playlist

    • Return the new shuffled playlist

  • Answered by AI
  • Q3. What is memory leak?
  • Ans. 

    Memory leak is a situation where a program fails to release memory it no longer needs.

    • Memory leaks can cause a program to consume more and more memory over time, eventually leading to crashes or other issues.

    • Memory leaks can be caused by programming errors such as not freeing memory after it is no longer needed.

    • Tools like valgrind can be used to detect memory leaks in C and C++ programs.

    • Examples of memory leaks include...

  • Answered by AI
  • Q4. What is the problem with arrays?
  • Ans. 

    Arrays have fixed size and can lead to memory wastage and performance issues.

    • Arrays have a fixed size and cannot be resized dynamically.

    • Inserting or deleting elements in an array can be time-consuming.

    • Arrays can lead to memory wastage if they are not fully utilized.

    • Arrays can cause performance issues if they are too large and need to be traversed frequently.

    • Arrays can also be prone to buffer overflow attacks.

    • Example: A...

  • Answered by AI
  • Q5. Write a function in javascript to hide text on mouse click
  • Ans. 

    Function to hide text on mouse click in JavaScript

    • Create a function that takes an element as input

    • Add an event listener to the element for a mouse click

    • Toggle the element's display property between 'none' and its original value

  • Answered by AI
  • Q6. A unsorted array was given and a number x.find out the two elements whose sum is equal to x
  • Ans. 

    Find two elements in an unsorted array whose sum is equal to a given number x.

    • Use a hash table to store the difference between x and each element in the array.

    • Iterate through the array and check if the current element is in the hash table.

    • Return the pair of elements that add up to x.

  • Answered by AI
  • Q7. More questions on basic OS concepts related to storage, memory
  • Q8. Puzzle : -----/
  • Q9. What is BST ?
  • Ans. 

    BST stands for Binary Search Tree, a data structure used for efficient searching and sorting operations.

    • BST is a tree-like data structure where each node has at most two children.

    • The left child of a node contains a value less than the parent node, while the right child contains a value greater than the parent node.

    • BST allows for efficient searching and sorting operations with a time complexity of O(log n).

    • Examples of a...

  • Answered by AI
  • Q10. How many BSTs are possible with two nodes and three nodes?
  • Ans. 

    Number of possible BSTs with 2 and 3 nodes.

    • For 2 nodes, only 2 BSTs are possible.

    • For 3 nodes, 5 BSTs are possible.

    • Number of BSTs can be calculated using Catalan numbers formula.

    • Catalan(2) = 2, Catalan(3) = 5.

  • Answered by AI
  • Q11. How many trees are possible with two and three nodes?
  • Ans. 

    Answering the question about possible trees with two and three nodes.

    • For two nodes, there is only one possible tree.

    • For three nodes, there are three possible trees.

    • The formula for calculating the number of possible trees with n nodes is (2n-3)!!.

    • The double exclamation mark represents the double factorial function.

    • The double factorial function is defined as n!! = n(n-2)(n-4)...(1 or 2).

  • Answered by AI
  • Q12. Puzzle : 100 people are standing in a circle .each one is allowed to shoot a person infront of him and he hands the gun to the next to next person for e.g 1st person kills 2nd and hands gun to 3rd .This c...
  • Q13. What is indexing? Why it is used?
  • Q14. What are B+ trees?what is the advantage?
  • Ans. 

    B+ trees are balanced trees used for indexing and searching large amounts of data.

    • B+ trees are similar to binary search trees but have multiple keys per node.

    • They are commonly used in databases and file systems.

    • B+ trees have a high fanout, reducing the number of disk accesses required for searching.

    • They are also self-balancing, ensuring efficient performance even with large amounts of data.

    • Example: In a database, a B+ ...

  • Answered by AI
  • Q15. Any questions you want to ask?
  • Ans. 

    Yes, I have a few questions.

    • Can you tell me more about the team I'll be working with?

    • What is the company culture like?

    • What are the biggest challenges the team is currently facing?

    • Can you walk me through the development process for a typical project?

    • What opportunities are there for professional growth and development?

  • Answered by AI
  • Q16. Asked me about the skills i have mentioned in my resume
  • Q17. Which data structure i like?
  • Ans. 

    I prefer hash tables for their constant time lookup and insertion.

    • Hash tables are efficient for storing and retrieving data.

    • They have constant time complexity for both insertion and lookup.

    • They can be implemented using arrays or linked lists.

    • Examples include Python's dictionary and Java's HashMap.

  • Answered by AI
  • Q18. Can you implement a stack using queue
  • Ans. 

    Yes, we can implement a stack using two queues.

    • Push operation: Enqueue the element to the first queue.

    • Pop operation: Dequeue all elements from the first queue and enqueue them to the second queue until the last element. Dequeue and return the last element. Swap the names of the queues.

    • Top operation: Same as pop operation but don't dequeue the last element.

    • Example: Push 1, 2, 3. Queue 1: 1 2 3. Queue 2: empty. Pop opera...

  • Answered by AI
  • Q19. Two arrays of arrival time of trains and departure time of trains were given. find the minimum no of platforms require so that no collision occurs
  • Ans. 

    Find minimum no of platforms required to avoid collision between trains based on their arrival and departure times.

    • Sort both arrays in ascending order

    • Initialize platform count and max count to 1

    • Loop through both arrays and compare arrival and departure times

    • If arrival time is less than or equal to departure time, increment platform count

    • Else, decrement platform count

    • Update max count if platform count is greater than ma

  • Answered by AI
  • Q20. What is JVM ? Difference between JVM and compiler
  • Ans. 

    JVM stands for Java Virtual Machine. It is an abstract machine that provides a runtime environment for Java programs.

    • JVM is responsible for interpreting the compiled Java code and executing it.

    • It provides platform independence by converting bytecode into machine-specific code.

    • JVM has various components like class loader, bytecode verifier, and execution engine.

    • Compiler converts source code into bytecode, while JVM exec...

  • Answered by AI
  • Q21. He asked me to write a html code for a page design he gave
  • Q22. He asked me to write a query for a relational schema and problem statement given by him
  • Q23. Tell me about Yourself
  • Ans. 

    I am a software engineer with experience in developing web applications and a passion for learning new technologies.

    • Experienced in developing web applications using technologies such as Java, Spring, and Angular

    • Passionate about learning new technologies and keeping up with industry trends

    • Strong problem-solving skills and ability to work in a team environment

    • Completed a Bachelor's degree in Computer Science from XYZ Uni

  • Answered by AI
  • Q24. She asked me if i was nervous
  • Q25. What do i know about PayTM ?
  • Ans. 

    PayTM is an Indian e-commerce payment system and digital wallet company.

    • PayTM was founded in 2010 by Vijay Shekhar Sharma.

    • It started as a mobile recharge and bill payment platform.

    • PayTM has expanded to offer services like online shopping, movie ticket booking, and travel bookings.

    • It also offers a digital wallet that can be used to pay for various services and products.

    • PayTM has over 350 million registered users and is ...

  • Answered by AI
  • Q26. Any feature i would like to add in PayTM app?
  • Ans. 

    I would like to add a feature for splitting bills among friends.

    • The feature would allow users to split bills for movies, dinners, etc.

    • Users can select friends from their contact list and split the bill equally or unequally.

    • The app would send a notification to the selected friends to pay their share.

    • The feature would make it easier for users to split expenses and avoid awkward conversations.

    • It would also encourage more

  • Answered by AI
  • Q27. What is my favourite app and any improvements in it which i want to implement?
  • Ans. 

    My favourite app is Spotify. I would like to see improvements in the algorithm for personalized playlists.

    • Improved algorithm for personalized playlists

    • Better integration with social media platforms

    • Option to create collaborative playlists with friends

  • Answered by AI
  • Q28. She asked me about my school and which school i like the most and why?
  • Q29. She asked me about my family
  • Q30. What is my favourite subject?
  • Ans. 

    My favourite subject is Computer Science.

    • I enjoy programming and problem-solving.

    • I find algorithms and data structures fascinating.

    • I am interested in artificial intelligence and machine learning.

    • I like learning about new technologies and keeping up with industry trends.

  • Answered by AI
  • Q31. Have i ever been to delhi?
  • Q32. Why do I choose NIT Hamirpur? what do i like about Hamirpur?
  • Ans. 

    I choose NIT Hamirpur because of its excellent academic reputation and beautiful campus.

    • NIT Hamirpur has a strong focus on academics and research, which aligns with my career goals.

    • The campus is located in a serene and picturesque location, which provides a conducive environment for learning.

    • The faculty members are highly experienced and knowledgeable, and are always willing to help students.

    • The college has state-of-th...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: General aptitude was easy.It was of 30 mins.
Next technical aptitude and coding questions were of 50 mins duration.
Technical aptitude questions were from OS,C,C++,DBMS.Questions were based on basic concepts.
There were 3 coding questions.
1.A girl eat fish of exact length of 10.She can cut the fish to get the desired length.An array of lengths of fish and maximum possible cuts allowed were given.Find out the max number of fish the girl can eat.
2. A 2-D rectangular board which contains sand grains : 'o' ,obstacles: 'x' and empty cells : '.' .The board is kept vertical. The sand grain can move down into and empty cell but it cannot cross obstacle. find out the final position of all sand grains in the board.
3.It was question on subsequence .
Tips: Just keep your basic concepts clear. Practice questions on strings,dynamic programming and recursion.Go through Geeksforgeeks .It'll help you a lot.
Duration: 80mins minutes
Total Questions: 50

Round: Technical Interview
Experience: The interviewer was very calm and polite. He was giving me hints and enough time to solve the questions.
Tips: Keep talking with the interviewer .Discuss your approach. Do take hints they give you.

Round: Technical Interview
Experience: I was stuck in one or two questions but they keep giving me hints. Interviewers were very nice. They were asking me the approach for each question. They were very cool.

Tips: Stay calm and go ahead. Apply whatever basic knowledge you have . keep asking doubts for the questions if you have any.

Round: Technical Interview
Experience: He asked me about my projects. What was my role. It was an hour long round. Enough time was given to solve each question.I was asked to write code with minimum complexity.
Tips: Keep discussing the questions. Try to reach to the best approach .keep smiling.Never fake your resume.

Round: HR Interview
Experience: The HR was very polite.I was a bit nervous at first but then I was relaxed.
Tips: Just be yourself .You are almost done when you are selected for HR. :) Keep Smiling and be confident about what ever you say.

General Tips: Be confident and have clear basic concepts of all subjects.
Skill Tips: Practise as many questions as you can on geeksforgeeks.
Skills: Coding skills, Logical skills, Aptitude, Basic Knowledge of DBMS
College Name: NIT Hamirpur
Motivation: My recent project work related to E-commerce and the reputation and ecstatic growth of the company in recent months.
Funny Moments: after one of the technical round , interviewer asked me if i had any questions about the company.I asked them what kind of rewards will be given .. do you guys go for trips and get any free coupons :P

Skills evaluated in this interview

Interview Questionnaire 

7 Questions

  • Q1. Given an array find the number of conitnuous sequences having equal number of 0's and 1's
  • Ans. 

    Count the number of continuous sequences with equal number of 0's and 1's in an array.

    • Iterate through the array and keep track of the count of 0's and 1's encountered so far.

    • Store the difference between the counts in a hash table and increment the count for that difference.

    • If the difference is already present in the hash table, add the count to the existing value.

    • Return the sum of all values in the hash table.

  • Answered by AI
  • Q2. Number of substrngs which are palindrome
  • Ans. 

    Count the number of palindromic substrings in a given string.

    • A substring is a contiguous sequence of characters within a string.

    • A palindrome is a string that reads the same backward as forward.

    • Use dynamic programming to count all palindromic substrings.

    • Time complexity can be reduced to O(n^2) using Manacher's algorithm.

  • Answered by AI
  • Q3. Longest Palindrom in a string in O(n)
  • Ans. 

    Find the longest palindrome in a given string in linear time complexity.

    • Use Manacher's algorithm to find the longest palindrome in a string in O(n) time complexity.

    • The algorithm involves preprocessing the string to add special characters to handle even and odd length palindromes.

    • Then, it uses a combination of dynamic programming and symmetry properties to find the longest palindrome.

    • For example, in the string 'babad',

  • Answered by AI
  • Q4. Find the value of pie
  • Ans. 

    The value of pie is a mathematical constant approximately equal to 3.14159.

    • Pie is the ratio of the circumference of a circle to its diameter.

    • It is an irrational number, meaning it cannot be expressed as a finite decimal or fraction.

    • Pie is commonly used in geometry and trigonometry calculations.

    • The value of pie is often approximated as 3.14 or 22/7.

  • Answered by AI
  • Q5. Project discussion
  • Q6. Tell me about yourself
  • Ans. 

    I am a passionate software engineer with experience in developing web applications using various technologies.

    • Experienced in developing web applications using HTML, CSS, JavaScript, and frameworks like React and Angular

    • Proficient in backend development with Node.js and databases like MongoDB and MySQL

    • Familiar with version control systems like Git and deployment tools like Docker

    • Strong problem-solving skills and ability

  • Answered by AI
  • Q7. Will u be able to fit in the company ?
  • Ans. 

    Yes, I believe I will be able to fit in the company based on my experience, skills, and values.

    • I have experience working in diverse teams and adapting to different work cultures.

    • I share the company's values and vision, which align with my own.

    • I am eager to learn and contribute to the team, fostering a positive work environment.

    • I have strong communication skills, which are essential for collaboration and teamwork.

  • Answered by AI

Interview Preparation Tips

Round: Test
Duration: 20 minutes
Total Questions: 20

Round: Technical Interview
Experience: Nice
Tips: Cormen
Programming contests
Interviewbit.com
geeksforgeeks.com

Round: Technical Interview
Experience: niice
Tips: Cormen
Programming contests
Interviewbit.com
geeksforgeeks.com

Round: Technical Interview
Experience: nice
Tips: do some projects

Round: HR Interview
Experience: nice
Tips: read on google on how to answer such questions

General Tips: geeksforgeeks.com
Skill Tips: Cormen
Programming contests
Interviewbit.com
geeksforgeeks.com
Skills: c , algorithms , data structures
College Name: Delhi Technological University, Delhi

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Jul 2022. There were 2 interview rounds.

Round 1 - Coding Test 

90 min long test, with 4 coding questions on data structures and algorithms, 2 of them being the medium and other medium-hard.

Round 2 - Technical 

(1 Question)

  • Q1. Distinct subsequences, leetcode problem link: leetcode.com/problems/distinct-subsequences

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm, Be yourself, they are not looking for correct codes but good and concise approaches
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. LinkedIn List based problems
  • Ans. 

    LinkedIn List based problems involve manipulating linked lists to solve various coding challenges.

    • Implement common linked list operations like insertion, deletion, and traversal.

    • Solve problems involving reversing a linked list, detecting cycles, or finding the intersection point of two linked lists.

    • Use techniques like two pointers, recursion, or hash tables to optimize solutions.

  • Answered by AI
  • Q2. Hashing based problems and questions

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

OneCard Interview FAQs

How many rounds are there in OneCard Software Engineer interview?
OneCard interview process usually has 1 rounds. The most common rounds in the OneCard interview process are Technical and Coding Test.
How to prepare for OneCard Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at OneCard. The most common topics and skills that interviewers at OneCard expect are Analytical skills, Android, Backend, CSS and Data Structures.

Recently Viewed

PHOTOS

InsuranceDekho

3 office photos

LIST OF COMPANIES

Credit Bajaar

Overview

INTERVIEWS

Credgenics

No Interviews

INTERVIEWS

StoneX Group

No Interviews

INTERVIEWS

Visa

No Interviews

INTERVIEWS

T R Chadha & Co Llp

No Interviews

INTERVIEWS

Visa

No Interviews

INTERVIEWS

StoneX Group

No Interviews

INTERVIEWS

Visa

No Interviews

INTERVIEWS

Skypro Technologies

No Interviews

Tell us how to improve this page.

OneCard Software Engineer Interview Process

based on 2 interviews

Interview experience

4
  
Good
View more
OneCard Software Engineer Salary
based on 26 salaries
₹10 L/yr - ₹35.4 L/yr
155% more than the average Software Engineer Salary in India
View more details

OneCard Software Engineer Reviews and Ratings

based on 2 reviews

4.5/5

Rating in categories

3.6

Skill development

4.0

Work-life balance

3.6

Salary

3.6

Job security

3.1

Company culture

3.6

Promotions

3.6

Work satisfaction

Explore 2 Reviews and Ratings
Product Manager
38 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
26 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Customer experience Specialist
22 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Team Lead
22 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Data Scientist
21 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare OneCard with

Uni Cards

3.9
Compare

Paytm

3.3
Compare

PhonePe

4.0
Compare

Mobikwik

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent