Add office photos
Engaged Employer

Springworks

4.6
based on 162 Reviews
Video summary
Filter interviews by

20+ Zebronics Interview Questions and Answers

Updated 13 Aug 2024
Popular Designations

Q1. Number of Islands Problem Statement

You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in this ma...read more

Add your answer

Q2. Equilibrium Indices in a Sequence

You are given an array/list named 'SEQUENCE', which consists of 'N' integers. The task is to identify all equilibrium indices in this sequence.

Explanation:

An equilibrium inde...read more

Ans.

The task is to find the equilibrium indices of a given sequence, where the sum of elements at lower indices is equal to the sum of elements at higher indices.

  • Iterate through the sequence and calculate the total sum of all elements

  • Initialize a left sum and right sum as 0

  • For each index, update the left sum and right sum and check if they are equal

  • If they are equal, add the index to the equilibrium indices

  • Return the equilibrium indices

Add your answer

Q3. Paint House Problem Statement

You have been given a set of 'N' houses, each house can be painted using one of three colors: green, red, or yellow. A cost matrix is provided with dimensions 'N' * 3, where each e...read more

Add your answer

Q4. Rearrange Linked List Problem Statement

Given a singly linked list in the form 'L1' -> 'L2' -> 'L3' -> ... 'Ln', your task is to rearrange the nodes to the form 'L1' -> 'Ln' -> 'L2' -> 'Ln-1', etc. You must not...read more

Ans.

The task is to rearrange the nodes of a singly linked list in a specific order without altering the data of the nodes.

  • Iterate through the linked list to find the middle node using the slow and fast pointer technique.

  • Reverse the second half of the linked list.

  • Merge the first and reversed second half of the linked list alternatively to get the desired order.

Add your answer
Discover Zebronics interview dos and don'ts from real experiences

Q5. Implementing Queue with Two Stacks

Your task is to implement a queue using two stacks. You are provided with ‘Q’ queries and need to handle them, where each query falls under one of these two operations:

  1. Enque...read more
Add your answer

Q6. Maximum Product Subarray Problem Statement

Given an array of integers, determine the contiguous subarray that produces the maximum product of its elements.

Explanation:

A subarray can be derived from the origin...read more

Add your answer
Are these interview questions helpful?

Q7. Divide String Problem Statement

You are given a string WORD consisting of lowercase alphabets. Your task is to divide WORD into N strings of equal length.

Input:

The first line contains an integer 'T' represent...read more
Add your answer

Q8. Inorder Traversal of Binary Tree

You are provided with a Binary Tree composed of 'N' nodes, each holding integer values. Your task is to compute the Inorder traversal of this binary tree.

Example:

For the given...read more
Ans.

The task is to find the in-order traversal of a given binary tree.

  • Implement a recursive function to perform in-order traversal of the binary tree

  • Start from the left subtree, then visit the root node, and finally visit the right subtree

  • Use an array to store the values of the nodes in the in-order traversal

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

Q9. Search in a Row-wise and Column-wise Sorted Matrix Problem Statement

You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the position of ...read more

Ans.

Given a sorted matrix, find the position of a target integer in the matrix.

  • Iterate through each row and column of the matrix

  • Compare the target integer with the current element

  • If the target integer is found, return the position

  • If the target integer is not found, return {-1, -1}

Add your answer

Q10. Matrix Chain Multiplication Problem

Given 'N' 2-dimensional matrices and an array ARR of length N + 1, where the first N integers denote the number of rows in each matrix and the last integer represents the num...read more

Add your answer

Q11. Painting Fences Problem Statement

You are given ‘N’ fences. Your task is to compute the total number of ways to paint these fences using only 2 colors, such that no more than 2 adjacent fences have the same col...read more

Ans.

The task is to find the total number of ways to paint fences using 2 colors such that at most 2 adjacent fences have the same color.

  • Use dynamic programming to solve the problem

  • Create a 2D array to store the number of ways to paint the fences

  • Initialize the base cases for the first two fences

  • Use recurrence relation to calculate the number of ways for the remaining fences

  • Return the result modulo 10^9 + 7

Add your answer

Q12. Roman Numeral to Integer Conversion

Convert a string representing a Roman numeral into its integer equivalent and return the result.

Explanation:

Roman numerals are represented by seven different symbols: I, V,...read more

Add your answer

Q13. Linear Probing in Hashing

Hashing is a technique to map large non-negative integers to smaller indices using a hash function. In the context of collision resolution in hash tables, 'Linear Probing' is employed,...read more

Add your answer

Q14. M-Coloring Problem Statement

Given an undirected graph as an adjacency matrix and an integer M, determine whether you can color the vertices of the graph using at most M colors such that no two adjacent vertice...read more

Add your answer

Q15. Internet Address Problem

You are given the task of reconstructing the address of an Internet resource from a given format.

Explanation:

The address format is: ://.ru[/]

  • is either "http" or "ftp".
  • is a non-em...read more
Ans.

The task is to extract and print the internet resource address from a given string.

  • The internet resource address has a specific format: ://.ru[/]

  • The can be either 'http' or 'ftp'

  • The is a non-empty string of lowercase English letters

  • The may or may not be present, and if present, it is a non-empty string of lowercase English letters

  • If is not present, the address has either two '/' characters (before the domain) or three (an extra one in front of the context)

Add your answer

Q16. Pair Sum Problem Statement

You are given an array of integers 'ARR' with a length 'N' and a specific integer 'Target'. Your objective is to determine and return all pairs of elements within the array whose sum ...read more

Add your answer
Q17. What are some aggregate operators in MongoDB?
Add your answer
Q18. You were given 3-4 models in a DBMS context. How did you join those models to obtain the desired result?
Add your answer

Q19. Projects and tech stack used

Ans.

I have worked on various projects using different tech stacks including Java, Python, and JavaScript.

  • Developed a web application using Java Spring Boot framework

  • Created a data analysis tool using Python libraries such as Pandas and NumPy

  • Built a real-time chat application using JavaScript and Node.js

  • Implemented machine learning algorithms using Python's scikit-learn library

  • Worked on a mobile application using React Native framework

Add your answer
Q20. Given two tables, how would you return an inner join on a common column (key)?
Ans.

The inner join operation combines rows from two tables based on a common column (key).

  • Use the JOIN keyword in the SQL query to perform an inner join.

  • Specify the common column (key) in the ON clause of the join.

  • The result will contain only the matching rows from both tables.

Add your answer

Q21. what are some of the errors while submitting into p21

Ans.

Errors while submitting into p21

  • Incorrect data format or structure

  • Missing required fields

  • Invalid data values

  • Network connectivity issues

  • Authorization/authentication problems

Add your answer

Q22. What is object orienteered programming.

Ans.

Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

  • Objects are instances of classes, which define the structure and behavior of the objects.

  • Encapsulation, inheritance, and polymorphism are key principles of object oriented programming.

  • Example: Java, C++, Python are popular languages that support object oriented programming.

Add your answer

Q23. What do you know about oops

Ans.

Object-oriented programming paradigm focusing on objects and classes

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (object)

  • Inheritance: Ability of a class to inherit properties and behavior from another class

  • Polymorphism: Ability to present the same interface for different data types

  • Abstraction: Hiding the complex implementation details and showing only the necessary features

Add your answer

Q24. Tell me about encapsulation

Ans.

Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.

  • Encapsulation helps in hiding the internal state of an object and restricting access to it.

  • It allows for better control over the data by preventing outside interference.

  • Encapsulation also promotes code reusability and modularity.

  • Example: In object-oriented programming, classes encapsulate data fields and methods to operate on those fields.

Add your answer

Q25. different Events in java script

Ans.

Events in JavaScript are actions or occurrences that happen in the browser that the code can respond to.

  • Events can be triggered by user actions (like clicking a button), browser actions (like page load), or system events (like a timer expiring)

  • Event listeners are used to listen for and respond to events

  • Common events include click, mouseover, keydown, submit, etc.

Add your answer

Q26. which domains have death details

Ans.

Domains such as healthcare, insurance, and public health typically have death details.

  • Healthcare

  • Insurance

  • Public health

Add your answer

Q27. RCA - number of iphone users

Ans.

To determine the number of iPhone users, conduct Root Cause Analysis (RCA) by analyzing sales data, market research, and user surveys.

  • Analyze sales data from Apple to determine the number of iPhones sold

  • Conduct market research to estimate market share of iPhones compared to other smartphones

  • Survey iPhone users to gather data on usage patterns and demographics

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

Interview Process at Zebronics

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

Top Interview Questions from Similar Companies

3.9
 • 395 Interview Questions
3.9
 • 303 Interview Questions
4.1
 • 296 Interview Questions
4.1
 • 258 Interview Questions
4.6
 • 150 Interview Questions
3.6
 • 144 Interview Questions
View all
Top Springworks 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