Add office photos
Employer?
Claim Account for FREE

Newgen Software Technologies

3.7
based on 1.3k Reviews
Filter interviews by

Justransform Interview Questions and Answers

Updated 9 Oct 2024
Popular Designations

Q1. Dofferemt ways to prevent rerendering of a child component in react?

Ans.

Prevent rerendering of a child component in React

  • Use shouldComponentUpdate() lifecycle method

  • Use React.memo() to memoize functional components

  • Use PureComponent instead of Component

  • Pass props as a callback function to avoid unnecessary re-renders

  • Use React.PureComponent for class components

  • Use React.memo() for functional components

Add your answer

Q2. -React lifecycle?-Fragment vs React. Fragment? -React pure component?

Ans.

React lifecycle, Fragment vs React.Fragment, React.PureComponent

  • React lifecycle consists of mounting, updating, and unmounting phases

  • Fragment is a shorthand for React.Fragment, used to group multiple elements

  • React.PureComponent is a class component that implements shouldComponentUpdate method for performance optimization

Add your answer

Q3. JavaScript hoisting?- Let, var and cont difference?

Ans.

JavaScript hoisting and differences between let, var and const.

  • Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope.

  • Var declarations are hoisted to the top of their scope, while let and const declarations are not.

  • Var can be redeclared and reassigned, let can be reassigned but not redeclared, and const cannot be reassigned or redeclared.

  • Using const is recommended for variables that should not be reassigned, while let ...read more

Add your answer

Q4. Stream api find the second largest salary

Ans.

Use Stream API to find the second largest salary in an array of salaries.

  • Use Stream.sorted() to sort the salaries in descending order

  • Use Stream.skip(1).findFirst() to get the second highest salary

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

Q5. Insert middle in the linked list

Ans.

Insert a node in the middle of a linked list

  • Find the middle node using slow and fast pointers

  • Insert the new node after the middle node

  • Update the pointers to maintain the linked list structure

Add your answer

Q6. reverse the linked list

Ans.

Reverse a linked list

  • Iterate through the linked list and change the direction of pointers

  • Use three pointers to keep track of current, previous, and next nodes

  • Update the head of the linked list to point to the last node

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

Interview Process at Justransform

based on 5 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.4
 • 25 Interview Questions
3.7
 • 21 Interview Questions
4.4
 • 16 Interview Questions
3.6
 • 12 Interview Questions
3.8
 • 11 Interview Questions
3.6
 • 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