
Yubi

20+ Yubi Interview Questions and Answers
Q1. What process do you follow to switch to a new technology?
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
Q2. What is the difference between SQL and NoSQL?
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
Q3. Smallest difference pair of values between two unsorted arrays
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.
Q4. Design Dream 11 application in high level.
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
Q5. What is normalisation in DBMS?
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
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]
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.
Q7. Find edge score of the nodes in a directed graph
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
Q8. Minimum number of platforms required for train station
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.
Q9. Rotten oranges after every second in 2D matrix
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
Q10. DB design for air ticket booking system
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
Q11. sort the elements of an unsorted array
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.
Q12. how to avoid overfitting
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
Q13. Longest Palindromic substring
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).
Q14. Design a Typeahead System in Internet scale
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
Q15. how to approach ocr of x document type
Q16. what is clustering
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.
Q17. One Instance of tough client/Team mate .
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.
Q18. Different between Stringbuffer vs string builder
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.
Q19. iso controls? and explanations?
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.
Q20. GCD of 2 strings
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.
Q21. Vision for next 2-3 years
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
Q22. Word2vec explanation
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
Q23. Quality processes we know about
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
Q24. sql query for highest salary
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
Q25. divisors of sting
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'.
Top HR Questions asked in Yubi
Interview Process at Yubi

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

