18 questions · from 3 interviews
Cloudsek interview questions
Every question candidates reported from their Cloudsek interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Cloudsek coding and DSA questions
- 01
Roman to Integer
Convert Roman numerals to an integer. The input is a string representing a Roman numeral, and the output is the corresponding integer value.
Easy · From Cloudsek SDE-1 Data Acquisition Interview Experience
- 02
Extract Pattern Between URLs
Given two URLs, extract the common base URL. For example, from the URLs http://www.openrce.org/forums/topics/22/12/11 and http://www.openrce.org/forums/topics/22/13/11 , the expected output is http://www.openrce.org/forums/topics/22/ .
- 03
Convert Unstructured Data to Structured Format
Parse a string containing name and email information into a list of dictionaries. The input is a list of strings with name, email, and other data, and the output is a structured list of dictionaries with name and email fields.
- 04
Implement Debouncing and Throttling
Explain the conceptual differences between debouncing and throttling, and then proceed to implement both functionalities from scratch using JavaScript.
- 05
Implement map and filter with reduce
Implement custom versions of the Array.prototype.map and Array.prototype.filter methods by leveraging the Array.prototype.reduce method.
- 06
Implement Currying and Infinite Currying
Explain the concept of currying in JavaScript and provide implementations for both standard currying and infinite currying functions.
- 07
Polyfill Array.prototype.reduce
Write a polyfill for the Array.prototype.reduce method, ensuring it behaves consistently with the native implementation across various use cases.
- 08
Polyfill Promise.race
Discuss the differences and use cases of various Promise methods (e.g., Promise.all, Promise.race, Promise.any, Promise.allSettled) and then write a polyfill for Promise.race.
- 09
Retry Fetch Call 'n' Times with Promises
Implement a custom JavaScript function that retries a fetch API call a specified number of 'n' times. The function should utilize Promises to manage asynchronous retries and handle potential failures.
- 10
Implement Undo/Redo in React
Code an undo-redo functionality within a React component. This feature should include an input field where users can type, along with separate 'Undo' and 'Redo' buttons to manage the history of changes to the input's state.
Cloudsek system design questions
- 01
Crawl Website and Extract User News Titles
Design a system to crawl a website (e.g., news.ycombinator.com) and extract user news titles. The output should be a dictionary where the key is the username and the value is the news title.
- 02
Fetch URL Metadata and Store in JSON (Optimized)
You are given a list of URLs. You need to make requests to these URLs, retrieve the metadata, and store it in a JSON file. Also, how can you make the process faster?
Medium · From CloudSEK | SDE-1 | Rejected | Bad Experience
- 03
Optimize Slow Database Reads
Let’s say you have 2 million records, and the read is slow. What would you do to improve it?
Medium · From CloudSEK | SDE-1 | Rejected | Bad Experience
- 04
Compound Indexing vs. Single Column Indexing
Let’s say you have two indexed columns, A and B, and a compound index on A+B. From where would the fetching be faster?
Hard · From CloudSEK | SDE-1 | Rejected | Bad Experience
- 05
Database Index Location and Structure
Where exactly is the index created? Could you show diagrammatically where an index resides in a DB?
Medium · From CloudSEK | SDE-1 | Rejected | Bad Experience
- 06
Troubleshooting Data Retrieval in Sharded Database
You have different sharded machines (machine A, B, C, etc.) with sharded DBs, and you're unable to retrieve data from machine B. What would you do to ensure data is retrievable from machine B?
Hard · From CloudSEK | SDE-1 | Rejected | Bad Experience
Cloudsek other questions
- 01
API Concepts and Practical Experience
What do you know about APIs, any practical experience?
- 02
Go Language Low-Level Working
What do you know about GO? Talk to me about the low level working of GO?
Hard · From CloudSEK | SDE-1 | Rejected | Bad Experience
Cloudsek interview questions FAQ
What questions are asked in Cloudsek interviews?
Candidates reported 18 distinct questions across 3 Cloudsek interviews. 10 coding and DSA questions, 6 system design questions, 2 other questions.
How difficult are Cloudsek interview questions?
Of the questions candidates rated, 14% were easy, 43% medium and 43% hard.