Fastenal
Expo India Agencies Interview Questions and Answers
Q1. puzzles Q1-> cake cutting ( 3 cuts, 8 slices) Q2 ->9 bottles, 8 same weight bottles, 1 heavy, 2 tries using a balance
Cake cutting puzzle and bottle weighing puzzle with specific constraints.
For the cake cutting puzzle, you can achieve 8 slices with 3 cuts by cutting the cake into quarters first, then stacking the quarters and cutting them in half.
For the bottle weighing puzzle, divide the bottles into 3 groups of 3, weigh 2 groups against each other. If they balance, the heavy bottle is in the third group. If not, take the heavier group and weigh 2 bottles from it, identifying the heavy bot...read more
Q2. different methods of solving same problem
Different methods can be used to solve the same problem depending on the context and available resources.
Brainstorming and ideation sessions
Trial and error
Research and analysis
Collaboration and teamwork
Using established frameworks and methodologies
Leveraging technology and automation
Iterative approach to problem-solving
Q3. SQL Joins and it's applications
SQL Joins are used to combine data from two or more tables based on a related column.
Joins are used to retrieve data from multiple tables in a single query
Types of joins include inner join, left join, right join, and full outer join
Join conditions are specified using the ON keyword and a comparison operator
Joins can be used to combine data from tables with a one-to-many or many-to-many relationship
Q4. finding error in sql queries
To find errors in SQL queries, check for syntax errors, missing or incorrect table/column names, and incorrect data types.
Check for syntax errors using a SQL editor or IDE.
Verify table and column names are correct and exist in the database.
Ensure data types match between tables and queries.
Use error messages and logs to identify specific issues.
Test queries with sample data to catch errors before running on production data.
Q5. Number of Islands (leetcode)
Count the number of islands in a 2D grid of '1's and '0's.
Iterate through the grid and for each '1' encountered, perform a depth-first search to mark all connected '1's as visited.
Increment the count of islands for each new island encountered.
Ensure to handle edge cases like out of bounds indices and already visited cells.
Q6. Waste of time and energy
Identifying and eliminating waste of time and energy is crucial for efficiency in any process.
Identify non-value adding activities and eliminate them
Streamline processes to reduce unnecessary steps
Encourage continuous improvement to minimize waste
Implement tools like Kanban or Lean principles to reduce waste
Interview Process at Expo India Agencies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month