SarthiQ

SarthiQ

Interview Preparation Guide

Oyo
Questions & Answers

A comprehensive, expert-curated list of real interview questions to help you prepare effectively and land your dream job.

Document Details

Topic / Subject
Oyo
Content Length
18 Curated Q&A
Generated On
October 4, 2026
Provided By
SarthiQ.com
Want to explore more questions & mock interviews? Click on 👉www.sarthiq.com
© 2026 SarthiQ Platform. All rights reserved.
www.sarthiq.com
Resume Upload Get Job in 90 Days Resume Builder AI Interview Coach Interview Questions Placement Committee Self Assessment Get Internship

Need Help?

[email protected]

Top Oyo Interview Questions

NETFLIX
ORACLE
Adobe
NVIDIA
meta
IBM
wipro
TCS
cisco
intel
SAP
Uber

Oyo Interview Questions

Practice with real Oyo interview questions

01
A Backend Developer was asked
SarthiQ Oyo
Medium
Asked in 2024
Q. What are database transactions, and how does indexing improve database performance? Provide SQL examples.
Ans. A database transaction is a sequence of operations performed as a single logical unit of work. A transaction must be atomic (all or nothing), consistent (valid state), isolated (no interference), and durable (persistent changes). Transactions are managed using SQL commands such as BEGIN, COMMIT, and ROLLBACK. Example of a Database Transaction:
sql
BEGIN;
INSERT INTO orders (user_id, amount) VALUES (1, 100);
UPDATE users SET balance = balance - 100 WHERE user_id = 1;
COMMIT;
If any operation fails, you can rollback to the original state:
sql
ROLLBACK;
Indexing improves database performance by creating a data structure that allows for faster retrieval of records. An index is like a book's index that helps find information quickly without scanning the entire table. Example of Creating an Index:
sql
CREATE INDEX idx_user_id ON orders(user_id);
This index will speed up queries that search for orders by user_id, significantly improving performance in large datasets.
Backend DeveloperCore Concept
02
A Software Engineer was asked
SarthiQ Oyo
Medium
Asked in 2024
Q. Can you explain the basic sorting algorithms and demonstrate the implementation of bubble sort and selection sort in Python?
Ans. Sorting algorithms are fundamental in computer science. Two basic sorting algorithms are Bubble Sort and Selection Sort. Here's how they work: Bubble Sort repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The process is repeated until the list is sorted.
python
**def bubble_sort(arr):**
    n = len(arr)
**    for i in range(n):**
**        for j in range(0, n-i-1):**
**            if arr[j] > arr[j+1]:**
                arr[j], arr[j+1] = arr[j+1], arr[j]  # Swap
    return arr

**Example usage:**
arr = [64, 34, 25, 12, 22, 11, 90]
print("Sorted array is:", bubble_sort(arr))
Selection Sort divides the input list into two parts: a sorted and an unsorted region. It repeatedly selects the smallest (or largest) element from the unsorted region and moves it to the end of the sorted region.
python
**def selection_sort(arr):**
    n = len(arr)
**    for i in range(n):**
        min_index = i
**        for j in range(i+1, n):**
**            if arr[j] < arr[min_index]:**
                min_index = j
        arr[i], arr[min_index] = arr[min_index], arr[i]  # Swap
    return arr

**Example usage:**
arr = [64, 25, 12, 22, 11]
print("Sorted array is:", selection_sort(arr))
Both algorithms are simple and easy to understand, but they are not the most efficient for large datasets. Their time complexity is O(n^2) in the worst case. However, they are great for educational purposes and understanding the basics of sorting.
Software EngineerCore Concept
03
Software Engineer
SarthiQ Oyo
Hard

Question:

How would you design a scalable system for XYZ...

04
Software Engineer
SarthiQ Oyo
Hard

Question:

How would you design a scalable system for XYZ...