Practice Questions
12 questions across all subjects. Filter and practice.
12 question(s) found
| Question | Subject | Difficulty | Type | Actions | |
|---|---|---|---|---|---|
Reverse a linked list Reverse a singly linked list (iterative and recursive approaches). KPMG | DSA | Easy | Coding | ||
Reverse a string and check palindrome Reverse a string and check whether it is a palindrome. Cubastion | DSA | Easy | Coding | ||
Right view of a binary tree Given a binary tree, return the right view (rightmost node at each level). Vehant | DSA | Easy | Coding | ||
GCD-based problem Given an array of integers, count the number of pairs (i, j) such that the GCD of arr[i] and arr[j] equals a given value. Vehant | DSA | Easy | Coding | ||
SQL MCQs Multiple choice questions on SQL (joins, aggregation, constraints, window functions). Blue Yonder | DBMS | Easy | MCQ | ||
C++ output prediction Predict the output of given C++ code snippets (operator precedence, pre/post increment, static variables, scope, integer overflow, pass by value vs reference). Vehant | DSA | Easy | Output | ||
Python coding Write Python code to solve the given data manipulation task (lists, dictionaries, comprehensions, file handling). Navikenz | GenAI / ML | Easy | Coding | ||
Sliding Window Maximum (window size k) Given an array of integers and a window size k, find the maximum value in each sliding window of size k. Blue YonderGreyB | DSA | Medium | Coding | ||
Trailing zeros in a factorial and bit rotation Find the number of trailing zeros in n! and perform a bit rotation on an integer. Cubastion | DSA | Medium | Coding | ||
SQL with data engineering basics Write SQL queries that combine raw data with data engineering basics (e.g., join raw tables to reconcile a reported metric). Navikenz | DBMS | Medium | Coding | ||
Take-home task: rebuild a finance metric from raw data using joins Reconcile a reported finance metric from raw data using joins. Write a short note explaining the approach and assumptions with the query. Xeno | DBMS | Medium | Assignment | ||
Counting point pairs Count the number of pairs of points that satisfy a given condition (as reported by students in the feedback sheet). Vehant | DSA | Medium | Coding |