Add office photos
Engaged Employer

Springworks

4.6
based on 162 Reviews
Filter interviews by

91HR Interview Questions and Answers

Updated 16 Apr 2024
Popular Designations

Q1. 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

Q2. 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
Q3. What are some aggregate operators in MongoDB?
Add your answer

Q4. 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
Discover 91HR interview dos and don'ts from real experiences

Q5. 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

Q6. 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

Q7. 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
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at 91HR

based on 2 interviews
1 Interview rounds
Coding Test Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

4.0
 • 131 Interview Questions
4.2
 • 50 Interview Questions
3.5
 • 17 Interview Questions
3.8
 • 11 Interview Questions
3.4
 • 10 Interview Questions
View all
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