Skip to main content
Datainteg
Career OS
Roadmaps
Practice
Resources
Community
Blog
Pricing
About
Login
Start Free
Coding Round Interview Questions · Datainteg · Datainteg Career OS
Interview Prep
Rounds
Coding Round
Coding Round Interview Questions
Live coding round focused on writing and debugging working code.
791 questions
Open in question bank
Coding Round questions
Write a program that starts multiple goroutines and waits for all of them using a `WaitGroup`.
Intermediate
· coding
premium
Implement a thread-safe Singleton class in Java.
Intermediate
· coding
premium
What does `console.log(typeof null)` output, and why is it considered a bug?
Intermediate
· output based
premium
Fix the classic loop closure bug where all callbacks log the same final value.
Intermediate
· coding
premium
Implement a debounce function.
Intermediate
· coding
premium
Implement a throttle function.
Intermediate
· coding
premium
Why does `0.1 + 0.2 == 0.3` evaluate to `False` in Python?
Intermediate
· output based
premium
Why is using a mutable default argument (e.g. `def f(x, lst=[])`) considered a bug?
Intermediate
· output based
premium
How do you implement computed or validated attributes using the `@property` decorator?
Intermediate
· coding
premium
How do you define and raise a custom exception class?
Intermediate
· coding
premium
How do you build a context manager using `contextlib.contextmanager`?
Intermediate
· coding
premium
Write a function to check whether a given string is a palindrome.
Beginner
· coding
premium
Write a function to check whether two strings are anagrams of each other.
Intermediate
· coding
premium
Implement an LRU cache from scratch using `OrderedDict` or a dict plus a doubly linked list.
Expert
· coding
premium
Two Sum: return the indices of the two numbers in an array that add up to a target.
Beginner
· coding
premium
Find the length of the longest substring without repeating characters.
Intermediate
· coding
premium
Write a CQL `CREATE TABLE` with a composite partition key and a clustering column ordered descending.
Intermediate
· coding
premium
Write a bool query combining `must`, `should`, and `filter` clauses.
Intermediate
· coding
premium
Write an aggregation to compute the top 5 categories by document count with an average price sub-aggregation.
Intermediate
· coding
premium
Write a query to find all documents where `status` is "active" and `age` is greater than 30.
Beginner
· coding
premium
Write an update that increments a `views` counter and sets `updatedAt` in a single operation.
Beginner
· coding
premium
Write an aggregation to group orders by customer and compute total spend, sorted descending.
Intermediate
· coding
premium
Write an aggregation using `$lookup` to join two collections and reshape the result with `$project`.
Advanced
· coding
premium
Write a Cypher query to create two nodes and a relationship between them.
Beginner
· coding
premium
Write a Cypher `MATCH` to find all friends of a given person.
Beginner
· coding
premium
Write a Cypher query to find friends-of-friends who are not already direct friends (recommendation).
Intermediate
· coding
premium
How would you implement a leaderboard using a Sorted Set (ZSET), including getting a user's rank?
Intermediate
· coding
premium
How would you implement a fixed-window rate limiter using `INCR` and `EXPIRE`?
Intermediate
· coding
premium
How does `COUNT(*)` differ from `COUNT(column)` when the column contains NULLs?
Intermediate
· output based
premium
Write PySpark/Glue code to read a table via the Glue catalog into a DynamicFrame, drop null fields, and write it to S3 as partitioned Parquet.
Intermediate
· coding
premium
Browse all 791 Coding Round questions