Filter interviews by
posted on 30 Sep 2015
Find all permutations of a given string.
Use recursion to swap each character with every other character in the string.
Repeat the process for each substring.
Add the permutation to an array.
Given an array of size 98 with natural numbers from 1-100 but 2 numbers are missing, find them.
Calculate the sum of all numbers from 1-100 using the formula n(n+1)/2
Calculate the sum of all numbers in the array
Subtract the sum of array from the sum of all numbers to get the sum of missing numbers
Find the missing numbers by iterating through the array and checking which numbers are not present
Check if a binary tree is a binary search tree or not.
Traverse the tree in-order and check if the elements are in sorted order.
Check if the left child is less than the parent and the right child is greater than the parent.
Use recursion to check if all the subtrees are BSTs.
Maintain a range for each node and check if the node value is within that range.
Detect and remove cycle in a linked list
Use two pointers, one slow and one fast, to detect a cycle
Once a cycle is detected, move one pointer to the head and iterate both pointers until they meet again
Set the next node of the last node in the cycle to null to remove the cycle
Function to check if a string has all lowercase letters appearing at least once without extra space in O(N) time.
Create a boolean array of size 26 to keep track of the occurrence of each letter.
Iterate through the string and mark the corresponding index in the array as true.
Check if all the elements in the array are true and return yes if so.
Alternatively, use a bit vector to keep track of the occurrence of each letter
Convert a number to its hexadecimal form
Use the built-in function to convert the number to hexadecimal
Alternatively, use the algorithm to convert the number to hexadecimal manually
Ensure to handle negative numbers appropriately
Priority scheduling is a scheduling algorithm where processes are assigned priorities and executed based on their priority level.
Preemptive priority scheduling allows a higher priority process to interrupt a lower priority process that is currently running.
Non-preemptive priority scheduling allows a higher priority process to wait until the lower priority process finishes executing.
A low priority process can preempt a ...
Singleton class is a class that can only have one instance at a time.
Singleton pattern is used when we need to ensure that only one instance of a class is created and that instance can be accessed globally.
The constructor of a singleton class is always private to prevent direct instantiation.
A static method is used to access the singleton instance.
Example: public class Singleton { private static Singleton instance = ne...
Develop tic-tac-toe game using OOPS concepts in CPP.
Create a class for the game board
Create a class for the players
Create a class for the game logic
Use inheritance and polymorphism for game objects
Implement functions for checking win/lose/draw conditions
I applied via Campus Placement and was interviewed in Aug 2024. There were 3 interview rounds.
Array , String, stack , queue - Basic Easy to medium level
When we visit a URL, the browser sends a request to the server hosting the website, which then responds with the requested web page.
Browser sends a request to the server hosting the website
Server processes the request and responds with the requested web page
Web page is displayed in the browser for the user to interact with
HTTP is a protocol used for transferring data over the internet, while HTTPS is a secure version of HTTP that encrypts data.
HTTP stands for Hypertext Transfer Protocol, used for transmitting data over the internet.
HTTPS stands for Hypertext Transfer Protocol Secure, which adds a layer of security by encrypting data.
HTTP operates on port 80, while HTTPS operates on port 443.
HTTPS uses SSL/TLS certificates to establish a...
I have always been a dedicated student, excelling in academics and extracurricular activities.
Consistently achieved top grades in all subjects
Participated in various school competitions and won awards
Served as a class representative and organized events
Took part in sports teams and cultural activities
I applied via Campus Placement and was interviewed in Jul 2024. There were 4 interview rounds.
4 questions on codebyte platform
1 easy combination sum
2. medium spiral traversal
3. medium question based on backtracking
4. medium to hard question based on anagrams
Use binary search to find the target element in a rotated sorted array.
Perform binary search to find the pivot element where the array is rotated.
Based on the pivot element, determine which half of the array to search for the target element.
Continue binary search in the appropriate half of the array to find the target element.
I applied via Campus Placement
90 mins, easy, Data structures and algorithm basics
Remove duplicates from array of strings in place
Use a HashSet to keep track of unique elements
Iterate through the array and remove duplicates by checking if element is already in the HashSet
Update the array in place by shifting elements to fill in the removed duplicates
Caching is the process of storing data in a temporary location to reduce access time and improve performance.
Caching helps reduce the load on servers by serving frequently accessed data quickly
It can improve performance by reducing the time needed to retrieve data from the original source
Examples include browser caching, CDN caching, and database caching
Carwale interview questions for popular designations
2 hours coding round, only 1 person out of 90 cleared
Get interview-ready with Top Carwale Interview Questions
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
4 dsa questions were asked in online coding round.
DSA question asked in the coding test.
I applied via Campus Placement and was interviewed in Jul 2023. There were 5 interview rounds.
There were 4 questions, CoderByte was the platform used.
1st: Hard: Array: Search GFG for "Maximum size rectangle binary sub-array with all 1s"
2nd: Medium: Search: Longest Palindrome Substring
3rd: Easy: String: Search LEET for "Largest Substring between two equal characters." There was one more condition - the substring should have unique characters.
4th: Easy: String: Given a string, of characters, If "M" is encountered, remove "M" and duplicate the last small case letter. If "N" is encountered, remove "N" and discard the next character.
Time complexity to add an element to a Singly Linked List is O(1) if added at the end using Tail pointer, and O(n) if added anywhere in the middle.
Adding an element at the end of a Singly Linked List using the Tail pointer is a constant time operation, hence O(1).
Adding an element anywhere in the middle of a Singly Linked List requires traversing the list to find the insertion point, resulting in a time complexity of O...
NextJs is a framework built on top of ReactJs, providing server-side rendering and other features for easier development.
NextJs is a framework built on top of ReactJs, providing server-side rendering, routing, and other features for easier development.
ReactJs is a JavaScript library for building user interfaces, while NextJs is a framework that adds functionality like server-side rendering and routing to React applicat...
Optimizing JSON involves minimizing redundant data, using efficient data structures, and compressing data when necessary.
Minimize redundant data by using references or IDs instead of repeating the same information multiple times.
Use efficient data structures like arrays or dictionaries to store JSON data in a more organized and accessible way.
Compress JSON data using techniques like gzip or deflate to reduce file size ...
Yes, I prefer commuting to work by train for its reliability and eco-friendliness.
I find commuting by train to be more reliable than other modes of transportation, as it is not affected by traffic congestion.
Taking the train is also more eco-friendly compared to driving a car, as it reduces carbon emissions.
Commuting by train allows me to relax, read, or work during the journey, making it a productive use of time.
I applied via Campus Placement and was interviewed in Jul 2023. There were 4 interview rounds.
4 coding questions. 1 easy, 2 medium, 1 hard.Try to solve 3 out of them.
I applied via Campus Placement and was interviewed in Jun 2023. There were 4 interview rounds.
4 questions :- 3 were string based and one DP
1. characters and it's frequency were given in key value format in a string, print the total frequency of each character in lexicographical order.
2. Minimum Jump to reach end of the array(search Jump game from leetcode)
3. Partion the given string into 2 parts such that both parts are present in list of words provided. Print all the ways of partitioning.
Use stack to find next greater element for each element in the array
Create an empty stack to store indices of elements
Iterate through the array and for each element, pop elements from stack until finding a greater element
Store the next greater element in a result array
Use three pointers to find triplets with sum 0 in an array.
Sort the array first to easily find triplets.
Use three pointers - one fixed, one moving from left, one moving from right.
Check if the sum of the three pointers is 0, if not adjust pointers accordingly.
Top trending discussions
Some of the top questions asked at the Carwale interview -
The duration of Carwale interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 27 interviews
Interview experience
based on 158 reviews
Rating in categories
3-6 Yrs
Not Disclosed
4-5 Yrs
Not Disclosed
2-8 Yrs
Not Disclosed
Accounts Manager
134
salaries
| ₹0 L/yr - ₹0 L/yr |
Key Account Manager
91
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Manager
28
salaries
| ₹0 L/yr - ₹0 L/yr |
Regional Manager
28
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
23
salaries
| ₹0 L/yr - ₹0 L/yr |
MagicBricks
Impact Guru
Netmeds.com
Tracxn