Nagarro
20+ Gani Wood Industries Interview Questions and Answers
Q1. given a starting point in a 2d array of size X Y you have to rotate subarray of size N staring from given starting point
Rotate a subarray of size N starting from a given point in a 2D array of size X Y.
Identify the subarray based on the starting point and size N
Extract the subarray and rotate it using a temporary array or in-place rotation
Replace the rotated subarray back into the original array
Handle edge cases such as subarray exceeding array boundaries
Q2. given an sorted array of size n and there is another array of 2n also contain elements in sorted order . merge these sorted arrays and remove duplicates if any .the resultant array should also be in sorted orde...
read moreMerge two sorted arrays of size n and 2n, remove duplicates and keep sorted.
Create a new array of size 3n to hold the merged and sorted array
Use two pointers to iterate through the arrays and compare elements
If an element is a duplicate, skip it and move to the next element
If an element is not a duplicate, add it to the new array and move to the next element
Continue until all elements have been added to the new array and it is sorted
Q3. Difference between High severity and low severity with example, what is important as QA point of view?
High severity issues have a significant impact on the system's functionality, while low severity issues have minimal impact.
High severity issues can cause system crashes or data loss, while low severity issues may only affect cosmetic aspects.
High severity issues are critical and need immediate attention, while low severity issues can be addressed later.
From a QA point of view, it is important to prioritize high severity issues to ensure the system's stability and functionali...read more
Q4. Make a 3*3 cube where you need to fill the numbers using 1-9, rows, columns and diagonal sum should be equal to 15?
Q5. What are the different access modifiers and what is there uses?
Q6. Tell me difference between extends keywords and implements keywords. What is Static block etc. Collection Map in core Java .
Q7. given a string consisting of various words . reverse all the string and words by 2 methods
Reverse a string and its words using two methods.
Method 1: Reverse the entire string and then reverse each word individually.
Method 2: Split the string into words, reverse the order of the words, and then reverse each word individually.
Example: Input string - 'Hello world, how are you?' Output - '?uoy era woh ,dlrow olleH'
Q8. Given a number , check if it can be represented in 5^n form , where n is positive integer
Check if a number can be represented in the form 5^n
Check if the number is a power of 5
Use logarithms to determine if the number can be represented as 5^n
Examples: 5, 25, 125 are represented as 5^1, 5^2, 5^3 respectively
Q9. Framework design and explanation BDD explanation POM vs Page factory Selenium Code for finding broken link Selenium wait POJO explanation BDD reporting Java collections Interface and abstraction Why multiple in...
read moreQ10. How would you split a search query across multiple machines?
Q11. Take an array, store the numbers and print the numbers using arrayList?
Q12. Write a program for given login scenario using defined automation architecture?
Q13. Write test scenario for download functionality of a songs website?
Q14. how to update a value in Bloc from another Bloc
Use a StreamController to update a value in Bloc from another Bloc
Create a StreamController in the Bloc where the value needs to be updated
Add a method in the Bloc to listen to the StreamController and update the value
In the other Bloc, get access to the StreamController and add the new value to it
Q15. Difference between interface and abstract?
Q16. What is javascript?
Q17. What is Array ?
Q18. What is static keyword?
Q19. What is c sharp?
Q20. Difference between class and interface?
Q21. Difference between cache and cookies?
Q22. Explain framework in .net?
Q23. Define Automation framework?
Q24. Oops concepts of c?
Q25. how to create word embeddings
Q26. difference between RNN & BERT
More about working at Nagarro
Top HR Questions asked in Gani Wood Industries
Interview Process at Gani Wood Industries
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month