Add office photos
Employer?
Claim Account for FREE

National Instruments

3.9
based on 40 Reviews
Filter interviews by

Commercial Real Estate Co Interview Questions and Answers

Updated 22 Aug 2024

Q1. Given a list of words. Given three operations find out the minimum steps to reach from source string to destination string. Basically, -----/ this is the problem with some modification. For this question I said...

read more
Ans.

The question is about finding the minimum steps to reach from a source string to a destination string using three operations.

  • BFS and DFS are graph traversal techniques that can be used to solve this problem.

  • BFS is typically used when finding the shortest path or exploring all possible paths in a graph.

  • DFS is useful when searching for a specific path or exploring deeply into a graph.

  • In this case, BFS can be used to find the minimum steps to reach the destination string.

  • Create ...read more

Add your answer

Q2. To print tree in anticlock wise direction

Ans.

To print a tree in anticlockwise direction, start from the bottom left and traverse each level from right to left.

  • Start from the bottom left of the tree

  • Traverse each level from right to left

  • Print the nodes as you traverse

Add your answer

Q3. Floor value of square root of a number

Ans.

Floor value of square root of a number is the largest integer less than or equal to the square root.

  • The floor value of square root of a number can be found using mathematical functions like floor() or integer division.

  • For example, the floor value of square root of 16 is 4, as sqrt(16) = 4.

  • For non-perfect square numbers, the floor value of square root can be calculated using approximation methods.

Add your answer

Q4. Find the highest floor, from where if an egg is dropped will not break. k floor building and n eggs are given.

Ans.

Find the highest floor from where an egg won't break, given k floors and n eggs.

  • Use binary search to minimize the number of drops.

  • Start from the middle floor and drop the egg.

  • If it breaks, search in the lower half, else search in the upper half.

  • Repeat until the highest floor is found.

View 1 answer
Discover Commercial Real Estate Co interview dos and don'ts from real experiences

Q5. Explain object oriented concepts and design in detail.

Ans.

Object-oriented concepts involve creating classes and objects to organize and structure code.

  • Classes define the properties and behaviors of objects

  • Objects are instances of classes that can interact with each other

  • Inheritance allows for the creation of subclasses that inherit properties and behaviors from a parent class

  • Polymorphism allows for objects to take on multiple forms and behave differently depending on the context

  • Encapsulation involves hiding the implementation detail...read more

Add your answer

Q6. find floor square root of number n, without using sort() function. 1<=n<=10^12

Ans.

Implement a function to find the floor square root of a given number without using sort() function.

  • Use binary search to find the square root of the number.

  • Start with a low value of 0 and high value of n.

  • Check the middle value and adjust the range accordingly.

  • Repeat until you find the floor square root.

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

Interview Process at Commercial Real Estate Co

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

Top Interview Questions from Similar Companies

4.0
 • 1.2k Interview Questions
4.1
 • 397 Interview Questions
3.9
 • 208 Interview Questions
4.2
 • 190 Interview Questions
3.7
 • 151 Interview Questions
3.9
 • 138 Interview Questions
View all
Top National Instruments 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