Premium Employer

Yubi

3.0
based on 173 Reviews
Filter interviews by

20+ Gainwell CAT Interview Questions and Answers

Updated 13 Feb 2025

Q1. What process do you follow to switch to a new technology?

Ans.

I follow a structured approach to evaluate the new technology, learn it through online resources or courses, practice with small projects, and gradually incorporate it into larger projects.

  • Research the new technology to understand its features, benefits, and use cases

  • Take online courses or tutorials to learn the basics of the technology

  • Practice by working on small projects or side projects to gain hands-on experience

  • Gradually incorporate the new technology into larger project...read more

Add your answer

Q2. What is the difference between SQL and NoSQL?

Ans.

SQL is a traditional relational database management system, while NoSQL is a non-relational database system.

  • SQL is table-based, with a predefined schema, while NoSQL is document, key-value, wide-column, or graph-based, with dynamic schema.

  • SQL is suitable for complex queries and transactions, while NoSQL is better for hierarchical data storage and real-time applications.

  • SQL is ACID-compliant (Atomicity, Consistency, Isolation, Durability), while NoSQL sacrifices some of these ...read more

Add your answer

Q3. Smallest difference pair of values between two unsorted arrays

Ans.

Find the smallest difference pair of values between two unsorted arrays.

  • Sort both arrays and compare elements to find the smallest difference.

  • Use two pointers approach to iterate through both arrays simultaneously.

  • Consider edge cases like empty arrays or arrays with only one element.

View 1 answer

Q4. Design Dream 11 application in high level.

Ans.

Dream 11 is a fantasy sports platform where users can create their own teams and compete in various sports leagues.

  • User registration and login functionality

  • Ability to create and join contests

  • Player selection and team creation feature

  • Real-time scoring and leaderboard updates

  • Integration with payment gateway for transactions

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

Q5. What is normalisation in DBMS?

Ans.

Normalization in DBMS is the process of organizing data in a database to reduce redundancy and improve data integrity.

  • Normalization involves breaking down a table into smaller tables and defining relationships between them.

  • It helps in reducing data redundancy by storing data in a structured and organized manner.

  • There are different normal forms such as 1NF, 2NF, 3NF, BCNF, and 4NF, each with specific rules to follow.

  • For example, in 1NF, each column should contain atomic values...read more

Add your answer

Q6. Minimum energy required to cross all the hurdles without loosing life. If any point energy becomes 0 game over. Input: [-2,-3,3,1,5]

Ans.

Find minimum energy required to cross all hurdles without losing life.

  • Calculate cumulative sum of energy required to cross each hurdle.

  • Find the minimum cumulative sum and add 1 to it.

  • If the minimum cumulative sum is negative, return its absolute value + 1.

  • This is the minimum energy required to cross all hurdles without losing life.

Add your answer
Are these interview questions helpful?

Q7. Find edge score of the nodes in a directed graph

Ans.

Edge score of nodes in a directed graph

  • Edge score is a measure of the importance of a node in a graph

  • It is calculated by counting the number of edges that point to or from a node

  • Nodes with higher edge scores are considered more important

  • Edge score can be calculated using algorithms like PageRank or HITS

Add your answer

Q8. Minimum number of platforms required for train station

Ans.

Minimum of two platforms are required for a train station.

  • At least two platforms are needed for trains to arrive and depart simultaneously.

  • Additional platforms may be required depending on the frequency of trains and passenger traffic.

  • Platforms should be long enough to accommodate the longest trains that will use the station.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Rotten oranges after every second in 2D matrix

Ans.

Simulate rotting of oranges in a 2D matrix every second.

  • Create a queue to store the coordinates of fresh oranges

  • Iterate through the matrix and add the coordinates of fresh oranges to the queue

  • Simulate the rotting process by iterating through the queue and rotting adjacent fresh oranges

  • Keep track of the time taken for all oranges to rot

  • Return -1 if there are any fresh oranges left after the simulation

Add your answer

Q10. DB design for air ticket booking system

Ans.

DB design for air ticket booking system

  • Create tables for flights, passengers, bookings, and payments

  • Use foreign keys to establish relationships between tables

  • Include fields for flight details, passenger information, and payment details

  • Consider implementing a caching mechanism for frequently accessed data

Add your answer

Q11. sort the elements of an unsorted array

Ans.

Use any sorting algorithm to sort the elements of an unsorted array.

  • Choose an appropriate sorting algorithm based on the size of the array and the type of elements.

  • Common sorting algorithms include bubble sort, insertion sort, selection sort, merge sort, quick sort, and heap sort.

  • Implement the chosen algorithm in the programming language of your choice.

  • Test the sorting function with various input arrays to ensure correctness.

Add your answer

Q12. how to avoid overfitting

Ans.

To avoid overfitting, use techniques like cross-validation, regularization, and increasing training data.

  • Use cross-validation to evaluate model performance on unseen data

  • Apply regularization techniques like L1 or L2 regularization to penalize complex models

  • Increase the size of the training dataset to provide more diverse examples

  • Use feature selection or dimensionality reduction methods to reduce the complexity of the model

  • Avoid overly complex models that can easily memorize t...read more

Add your answer

Q13. Longest Palindromic substring

Ans.

The problem is to find the longest substring that is a palindrome in a given string.

  • A palindrome is a string that reads the same backward as forward.

  • We can use dynamic programming to solve this problem.

  • We can start by considering each character as the center of a palindrome and expand outwards to find the longest palindrome.

  • We can also optimize the solution by using Manacher's algorithm which reduces the time complexity to O(n).

Add your answer

Q14. Design a Typeahead System in Internet scale

Ans.

Designing a Typeahead System for Internet scale

  • Use a distributed system architecture to handle high traffic and large datasets

  • Implement caching mechanisms to improve response time

  • Utilize machine learning algorithms for personalized suggestions

  • Optimize search queries for efficiency

  • Consider user behavior and preferences for better results

Add your answer

Q15. how to approach ocr of x document type

Add your answer

Q16. what is clustering

Ans.

Clustering is a technique used in data analysis to group similar data points together based on their characteristics.

  • Clustering is an unsupervised learning method.

  • It helps in identifying patterns and relationships in data.

  • Common clustering algorithms include K-means, hierarchical clustering, and DBSCAN.

  • Example: Grouping customers based on their purchasing behavior.

  • Example: Identifying different species of flowers based on their features.

Add your answer

Q17. One Instance of tough client/Team mate .

Ans.

Dealing with a difficult client or team member requires patience and effective communication.

  • Listen actively to understand their concerns and perspective.

  • Maintain professionalism and remain calm in challenging situations.

  • Find common ground and work towards a mutually beneficial solution.

  • Seek feedback from others to gain different perspectives on the situation.

Add your answer

Q18. Different between Stringbuffer vs string builder

Ans.

StringBuffer is synchronized and thread-safe, while StringBuilder is not synchronized.

  • StringBuffer is slower due to synchronization, while StringBuilder is faster.

  • StringBuffer is preferred in multithreaded environments, while StringBuilder is preferred in single-threaded environments.

  • StringBuilder is more efficient for most use cases, but StringBuffer is safer for concurrent access.

Add your answer

Q19. iso controls? and explanations?

Ans.

ISO controls are security measures outlined in the ISO/IEC 27001 standard to protect information assets.

  • ISO controls are security measures implemented to mitigate risks and protect information assets.

  • They are outlined in the ISO/IEC 27001 standard, which provides a framework for information security management.

  • Examples of ISO controls include access control, encryption, incident response, and business continuity planning.

Add your answer

Q20. GCD of 2 strings

Ans.

GCD of 2 strings is not a common concept in software engineering.

  • GCD of 2 strings is not a standard problem in software engineering.

  • It is more common to find GCD of integers or numbers.

  • If the strings represent numbers, you can convert them to integers and find the GCD.

Add your answer

Q21. Vision for next 2-3 years

Ans.

To lead the team in achieving strategic goals, driving innovation, and fostering a culture of collaboration and growth.

  • Develop and implement strategic plans to drive business growth

  • Lead and mentor team members to enhance their skills and performance

  • Identify and capitalize on emerging trends and technologies in the industry

  • Foster a culture of collaboration, innovation, and continuous learning

  • Build strong relationships with clients and stakeholders to drive business success

Add your answer

Q22. Word2vec explanation

Ans.

Word2vec is a technique used to create word embeddings by training a neural network on a large corpus of text.

  • Word2vec is a shallow neural network model that learns to represent words as vectors in a continuous vector space.

  • It captures semantic relationships between words by placing similar words close together in the vector space.

  • There are two main architectures for Word2vec: Continuous Bag of Words (CBOW) and Skip-gram.

  • Example: 'king - man + woman = queen' showcases the sem...read more

Add your answer

Q23. Quality processes we know about

Ans.

Quality processes are systematic activities implemented to ensure that products or services meet specified requirements and standards.

  • Quality planning: Developing a quality management plan to define quality standards and processes.

  • Quality control: Monitoring and verifying that products or services meet quality standards.

  • Quality assurance: Implementing processes to prevent defects and ensure continuous improvement.

  • Root cause analysis: Identifying and addressing the underlying ...read more

Add your answer

Q24. sql query for highest salary

Ans.

Use SQL query with MAX function to find highest salary

  • Use SELECT statement with MAX function to retrieve highest salary from salary column

  • Example: SELECT MAX(salary) FROM employees

  • Make sure to specify the correct table and column name in the query

Add your answer

Q25. divisors of sting

Ans.

Find all divisors of a given string.

  • Iterate through the string and check for all possible divisors.

  • Divisors can be substrings of the original string.

  • Consider the string 'abc', divisors are 'a', 'b', 'c', 'ab', 'bc', 'abc'.

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

Interview Process at Gainwell CAT

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

Top Interview Questions from Similar Companies

4.0
 • 570 Interview Questions
4.1
 • 546 Interview Questions
4.1
 • 210 Interview Questions
4.2
 • 146 Interview Questions
3.3
 • 138 Interview Questions
3.7
 • 134 Interview Questions
View all
Top Yubi 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
75 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