Join our community to practice, learn, solve your problems with AI. Recruiters: create tests and evaluate candidates instantly.
Categories: Code Problem Databases Python Programming Languages Mathematics Machine Learning NodeJS Puzzles Math Algorithms Strings Theorems Data structures Games JavaScript  More...

Recent solutions:

Check these solutions from our community:
Machine Learning / Data Science DifficultyMedium
Supervised learning is a type of machine learning that involves using a labeled training dataset to develop a model that can predict the label for new data.
About this solution: The candidate's solution is correct and demonstrates a good understanding of supervised learning algorithms.
Nov 05
Databases / SQL DifficultyMedium SQL
The number of customers who have placed an order in the last 30 days can be found by querying the orders table and counting the number of customer_id entries where the order_date is within the last 30 days.
About this solution: The candidate's solution is correct and demonstrates a good understanding of how to use the DATE_SUB function to get the date 30 days ago. The candidate's solution is also efficient because it uses the WHERE clause to filter the results.
Nov 04
Databases / SQL DifficultyMedium SQL
The number of customers who have placed an order in the last 30 days can be found by querying the orders table and counting the number of customer_id entries where the order_date is within the last 30 days.
About this solution: The candidate's solution is correct and demonstrates a good understanding of how to use the DATE_SUB function to get the date 30 days ago. The candidate's solution is also efficient because it uses the WHERE clause to filter the results.
Nov 04
Databases / SQL DifficultyMedium SQL
Write a SQL query to find the average price of all products in a database table.
About this solution: The candidate's solution is correct and demonstrates a level of completeness. The candidate's approach is also optimal, as it is the simplest way to get the average price of all products.
Nov 04
Databases / SQL DifficultyMedium SQL
Write a SQL query to find the average price of all products in a database table.
About this solution: The candidate's solution is correct and demonstrates a level of completeness. The candidate's approach is also optimal, as it is the simplest way to get the average price of all products.
Nov 04
Machine Learning / Data Science DifficultyMedium
This problem is a supervised learning problem where the goal is to predict the label of a point in 10 dimensions, given a dataset of 100,000 points with labels.
About this solution: The candidate's solution is complete and solves the problem. The approach is sound and the candidate has a good understanding of the problem.
Nov 04
Machine Learning / Data Science DifficultyMedium
This problem is a supervised learning problem where the goal is to predict the label of a point in 10 dimensions, given a dataset of 100,000 points with labels.
About this solution: The candidate's solution is correct and demonstrates a level of completeness in solving the problem. The candidate's approach is also general enough to be applicable to similar problems.
Nov 04
Databases / SQL DifficultyMedium SQL
A trigger is needed that will update the "last_updated" column in a table every time a row is inserted or updated.
About this solution: The candidate's solution is complete and solves the problem. The approach is optimal because it only updates the last_updated column for the row that was inserted or updated.
Nov 04