Premium Employer

Societe Generale Global Solution Centre

3.9
based on 2.2k Reviews
Filter interviews by

Reliance Life Sciences Interview Questions and Answers

Updated 22 Feb 2024
Popular Designations
Q1. Spiral Matrix

You are given a 2-D array 'MATRIX' of dimensions N x M, of integers. You need to return the spiral path of the matrix.

Example Of Spiral Path:

Spiral path of a matrix

Input Format:
The first line contains an integer 'T' ...read more
View 4 more answers
Q2. Common elements between array of strings

Given two 1-dimensional arrays containing strings of lowercase alphabets, print the elements that are common in both the arrays i.e. the strings that are present in both ...read more

View 4 more answers
Q3. Decimal to Octal Conversion

You are given a decimal number as input. You need to convert this number into its equivalent in the octal number system. The octal number system is the number system with a base value...read more

View 2 more answers
Q4. Cube of Matrix

Given an M x N sized 2D array 'MATRIX', return the (i * i + j * j) value for elements in which the sum of cube of digits of the element is equal to the element itself. Here, 'i' is the row number ...read more

View 3 more answers
Discover Reliance Life Sciences interview dos and don'ts from real experiences

Q5. What is the difference between SQL and NoSQL? Why MongoDB and not MySQL .

Ans.

SQL is a relational database while NoSQL is non-relational. MongoDB is preferred for scalability and flexibility.

  • SQL is table-based while NoSQL is document-based

  • SQL is structured while NoSQL is unstructured

  • SQL is vertically scalable while NoSQL is horizontally scalable

  • MongoDB is preferred for its ability to handle large amounts of unstructured data and its flexibility in schema design

  • MySQL is preferred for its strong ACID compliance and well-established community support

Add your answer

Q6. What is a linked list ? How does it works in Java ?

Ans.

A linked list is a linear data structure where each element is a separate object with a pointer to the next element.

  • In Java, a linked list is implemented using the LinkedList class in the java.util package.

  • LinkedList class provides methods like add(), remove(), get(), etc. to manipulate the list.

  • Each element in the list is represented by a node object which contains the data and a reference to the next node.

  • Linked lists are useful when the size of the list is not known before...read more

Add your answer

Q7. Explain what is a deadlock ?how to avoid it ? What different algorithm are there.

Ans.

A deadlock is a situation where two or more processes are unable to proceed due to a circular dependency.

  • Deadlock occurs when two or more processes are waiting for each other to release resources.

  • To avoid deadlock, use techniques like resource allocation graph, banker's algorithm, and deadlock prevention.

  • Resource allocation graph is a visual representation of resource allocation and can help identify potential deadlocks.

  • Banker's algorithm is a resource allocation and deadlock...read more

Add your answer

Q8. What are ACID Properties ?

Ans.

ACID Properties are a set of properties that ensure database transactions are processed reliably.

  • ACID stands for Atomicity, Consistency, Isolation, and Durability.

  • Atomicity ensures that a transaction is treated as a single, indivisible unit of work.

  • Consistency ensures that a transaction brings the database from one valid state to another.

  • Isolation ensures that concurrent transactions do not interfere with each other.

  • Durability ensures that once a transaction is committed, it ...read more

Add your answer

Q9. Coding question - swap 2 numbers without using 3rd variable

Ans.

Swap 2 numbers without using a third variable

  • Use bitwise XOR operation to swap two numbers without using a third variable

  • Example: a = 5, b = 7. a = a XOR b, b = a XOR b, a = a XOR b

  • Ensure to handle edge cases like swapping same numbers or zero

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

Interview Process at Reliance Life Sciences

based on 18 interviews in the last 1 year
4 Interview rounds
Coding Test Round
Technical Round
HR Round 1
HR Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.9
 • 178 Interview Questions
3.7
 • 124 Interview Questions
3.8
 • 36 Interview Questions
3.7
 • 22 Interview Questions
3.3
 • 14 Interview Questions
4.2
 • 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
Get AmbitionBox app

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