Add office photos
Engaged Employer

GoComet

4.6
based on 80 Reviews
Filter interviews by

10+ OJ Commerce Interview Questions and Answers

Updated 13 Nov 2024

Q1. Subarray With Given Sum Problem Statement

Given an array ARR of N integers and an integer S, determine if there exists a contiguous subarray within the array with a sum equal to S. If such a subarray exists, re...read more

Add your answer

Q2. you have 30 feet long wall. a bug climb 3 feet and fall 1 feet in 1 hours. total number of hours it take to climb tree

Ans.

A bug climbs 2 feet in 1 hour and falls 1 feet. How many hours to climb a 30 feet wall?

  • The bug climbs 2 feet in 1 hour and falls 1 feet.

  • The wall is 30 feet long.

  • Calculate how many hours it takes for the bug to climb the entire wall.

View 1 answer

Q3. Most of our website traffic comes from India while our target geography is the USA. How will you bring US traffic?

Ans.

I will use targeted advertising, SEO optimization, and social media marketing to attract US traffic.

  • Conduct keyword research and optimize website content for US audience

  • Create targeted ads on social media platforms like Facebook and Instagram

  • Collaborate with US-based influencers to promote the brand

  • Utilize Google AdWords to target US-based search queries

  • Participate in relevant online communities and forums to increase brand visibility

  • Create localized content for US audience

  • Pa...read more

Add your answer

Q4. Remove Consecutive Duplicates Problem Statement

Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.

Input:

String S

Output:

Output string

Constraints:

  • 1 <...read more
Add your answer
Discover OJ Commerce interview dos and don'ts from real experiences

Q5. What how internal structure of internet works

Ans.

The internal structure of the internet consists of interconnected networks of computers and servers that communicate through protocols.

  • The internet is made up of a vast network of interconnected devices such as routers, switches, and servers.

  • Data is transmitted across the internet using protocols like TCP/IP, HTTP, and DNS.

  • Internet Service Providers (ISPs) play a crucial role in connecting users to the internet and routing data between networks.

  • Domain Name System (DNS) transl...read more

Add your answer

Q6. You have 3 letter water can and 5 litter water can measure 4 litter water can

Ans.

The 3 liter and 5 liter water cans can be used to measure 4 liters of water.

  • Fill the 3 liter can and pour it into the 5 liter can.

  • Fill the 3 liter can again and pour it into the 5 liter can until it is full.

  • The remaining water in the 3 liter can is 1 liter.

  • Pour out the water from the 5 liter can.

  • Pour the 1 liter of water from the 3 liter can into the 5 liter can.

  • Fill the 3 liter can again and pour it into the 5 liter can until it is full.

  • The 5 liter can now contains 4 liters ...read more

Add your answer
Are these interview questions helpful?

Q7. You have two containers of 5 litres and 3 litres, you need 4 litres of water.

Ans.

Fill 3L container, pour into 5L container, fill 3L again, pour into 5L until full. 1L will remain in 3L container.

  • Fill 3L container

  • Pour into 5L container

  • Fill 3L again

  • Pour into 5L until full

  • 1L will remain in 3L container

Add your answer

Q8. What is ip forwarding

Ans.

IP forwarding is the process of routing data packets from one network to another network.

  • IP forwarding is a feature that allows a router to send packets destined for a remote network to the next hop router.

  • It involves examining the destination IP address of a packet and determining the best path to forward it.

  • IP forwarding is essential for enabling communication between different networks in a larger network infrastructure.

  • For example, when a user in one network wants to acce...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Search an element in a sorted(row and column wise) matrix.

Ans.

Use binary search to efficiently search for an element in a sorted matrix.

  • Start from the top right corner of the matrix

  • If the target is greater than the current element, move down

  • If the target is less than the current element, move left

  • Repeat until the target is found or all elements are checked

Add your answer

Q10. what is dsa, gdsc and sprinthacks

Ans.

DSA stands for Data Structures and Algorithms, GDSC stands for Google Developer Student Clubs, and Sprinthacks is a hackathon event.

  • DSA is a fundamental concept in computer science that involves organizing and storing data efficiently.

  • GDSC is a student-led community sponsored by Google to help students grow their skills in technology.

  • Sprinthacks is a hackathon event where participants work in teams to create innovative projects within a limited time frame.

Add your answer

Q11. One Puzzle to detect Defective Box

Ans.

Use binary search to detect defective box among a set of boxes.

  • Implement binary search algorithm to efficiently find the defective box.

  • Divide the set of boxes into two halves and check for defects in each half.

  • Continue dividing and checking until the defective box is found.

  • Example: [1, 2, 3, 4, 5, 6, 7, 8, 9], where box 5 is defective.

Add your answer

Q12. How many swift cars in mumbai?

Ans.

The exact number of Swift cars in Mumbai is not available, but it is a popular choice among car owners in the city.

  • Swift cars are a common sight on the roads of Mumbai.

  • Maruti Suzuki, the manufacturer of Swift cars, has a strong presence in the city.

  • The number of Swift cars in Mumbai is constantly changing due to sales and purchases.

  • One can see multiple Swift cars in popular areas like Bandra, Andheri, and South Mumbai.

Add your answer

Q13. how you start coding

Ans.

I start coding by understanding the requirements, planning the structure, writing code, testing, and debugging.

  • Understand the requirements and goals of the project

  • Plan the structure and architecture of the code

  • Write the code following best practices and standards

  • Test the code to ensure it functions correctly

  • Debug any issues that arise during testing

Add your answer

Q14. Implement MinStack?

Ans.

MinStack is a data structure that supports push, pop, top, and retrieving the minimum element in constant time.

  • Create a stack to store the elements and another stack to store the minimum values encountered so far.

  • When pushing an element, check if it is smaller than the current minimum. If so, push it onto the minimum stack.

  • When popping an element, check if it is the current minimum. If so, pop from the minimum stack as well.

  • Top operation returns the top element of the stack.

  • G...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at OJ Commerce

based on 20 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.9
 • 715 Interview Questions
4.1
 • 229 Interview Questions
3.9
 • 209 Interview Questions
4.0
 • 194 Interview Questions
3.6
 • 184 Interview Questions
4.3
 • 135 Interview Questions
View all
Top GoComet Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter