Search test library by skills or roles
⌘ K

Adaface Sample Coding Questions

Here are some sample Coding questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Longest Road
logic
hashmaps
Solve
                                    A startup company E-Motors is building driverless automated cars. The car contains a sensor that checks the road quality for the next N meters to decide the optimal speed at which the cars should move. We are given recorded data by the sensor in the form of an array, where each element of the array is the rating given to 1 meter of the road in sequence. 
            
            The rating given by the sensor is from 1 to 100, where 100 represents the road with the best condition, and any rating above 60 is optimal. Find the longest stretch of road in meters that is categorized as optimal by the sensor.
            
            The input is an array of "strings" which needs to be converted from string to integer/number inside the function.
                                    
🧐 Question🔧 Skill

Medium

Longest Road
logic
hashmaps
25 mins
Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Longest Road
logic
hashmaps
Coding
Medium25 minsSolve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Probieren Sie noch heute das Tool für die Bewertung von Kandidaten für freundliche Fähigkeiten aus.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
● Online
Previous
Score: NA
Next
✖️