Add office photos
Engaged Employer

Ansys Software Private Limited

3.9
based on 112 Reviews
Filter interviews by

NRSolution4u Interview Questions and Answers

Updated 28 Jun 2024

Q1. 0/1 Knapsack Problem Statement

A thief is planning to rob a store and can carry a maximum weight of 'W' in his knapsack. The store contains 'N' items where the ith item has a weight of 'wi' and a value of 'vi'....read more

Add your answer

Q2. Binary Tree Right View Problem Statement

Given a binary tree of integers, your task is to print the right view of it. The right view represents a set of nodes visible when the tree is viewed from the right side...read more

Add your answer
Q3. ...read more

Maximum Path Sum Problem Statement

You are given an n-ary tree consisting of 'N' nodes. Your task is to determine the maximum sum of the path from the root to any leaf node.

Example:

Input:
For the given tree:
Add your answer
Q4. Explain how indexing in a database works using B+ trees.
Add your answer
Discover NRSolution4u interview dos and don'ts from real experiences
Q5. How can you find the size of an array in C or C++ without using sizeof or any standard function?
Add your answer

Q6. Write down the recursion tree for this code:

Ans.

Recursion tree for a given code

  • Identify the base case of the recursion

  • Draw a tree structure with each recursive call as a node

  • Label each node with the input parameters and return values

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

Interview Process at NRSolution4u

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

4.4
 • 85 Interview Questions
3.6
 • 46 Interview Questions
4.3
 • 31 Interview Questions
3.7
 • 30 Interview Questions
3.9
 • 12 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