Add office photos
Engaged Employer

RV University

3.4
based on 10 Reviews
Filter interviews by

KRG Technologies Interview Questions and Answers

Updated 30 May 2024

Q1. If the size of an input image is 1000 x 1000 and filter of 3x3 applied with stride 1, what will be the dimensions of output image?

Ans.

The dimensions of the output image will be 998 x 998.

  • Output image dimensions = (input image dimensions - filter dimensions + 1) / stride

  • In this case, (1000 - 3 + 1) / 1 = 998

  • Therefore, the output image will be 998 x 998

Add your answer

Q2. Which provides feasible solution for puzzle problem backtracking or branch and bound

Ans.

Branch and bound provides a feasible solution for puzzle problems compared to backtracking.

  • Branch and bound is more efficient in finding optimal solutions by pruning branches that cannot lead to a better solution.

  • Backtracking explores all possible solutions before finding the optimal one, which can be inefficient for large puzzle problems.

  • For example, in the traveling salesman problem, branch and bound can be used to find the shortest route by systematically exploring and eli...read more

Add your answer

Q3. Greedy and DP which divides Data and which divides the domain?

Ans.

Greedy algorithm divides the domain, while Dynamic Programming divides the data.

  • Greedy algorithm focuses on making the best choice at each step without considering the overall solution, dividing the domain into subproblems.

  • Dynamic Programming breaks down a problem into smaller subproblems and solves each subproblem only once, dividing the data into overlapping subproblems.

  • Example: In the Knapsack problem, Greedy algorithm would choose items based on immediate benefit, while D...read more

Add your answer

Q4. What is an application of AVL Tree in database

Ans.

AVL Trees are used in databases to efficiently store and retrieve data in a balanced manner.

  • AVL Trees help maintain balance in database indexes, ensuring efficient search and retrieval operations.

  • They are commonly used in database management systems like MySQL and Oracle.

  • AVL Trees are particularly useful for range queries and ordered traversal of data in databases.

  • They provide faster search times compared to unbalanced binary search trees.

  • In database applications, AVL Trees h...read more

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

Q5. Difference in linear and non linear data structure

Ans.

Linear data structures store data in a sequential manner, while non-linear data structures allow for more complex relationships between data points.

  • Linear data structures include arrays, linked lists, queues, and stacks.

  • Non-linear data structures include trees, graphs, and heaps.

  • Linear data structures have a simple, one-dimensional layout, while non-linear data structures can have multiple dimensions and complex relationships between elements.

Add your answer

Q6. How topological sorting works

Ans.

Topological sorting is a linear ordering of vertices in a directed acyclic graph where for every directed edge uv, vertex u comes before vertex v.

  • Topological sorting is used in scheduling tasks with dependencies, such as in project management.

  • It can be implemented using depth-first search algorithm.

  • Example: In a course prerequisite graph, topological sorting can help determine the order in which courses should be taken.

Add your answer

Q7. What is operator overloading

Ans.

Operator overloading is the ability to define new meanings for operators in a programming language.

  • Allows operators to be used with user-defined data types

  • Can redefine the behavior of operators like +, -, *, /, etc.

  • Example: Overloading the + operator to concatenate strings

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 384 Interview Questions
4.0
 • 264 Interview Questions
4.2
 • 199 Interview Questions
4.2
 • 192 Interview Questions
3.9
 • 152 Interview Questions
4.3
 • 131 Interview Questions
View all
Top RV University 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
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