Syntax

Categories: Code Problem / Data Structures and Algorithms / Recursion (32) Code Problem / Data Structures and Algorithms / Binary Search (30) Code Problem / Data Structures and Algorithms / Linked Lists (26) Code Problem / Data Structures and Algorithms / Backtracking (26) Code Problem / Data Structures and Algorithms / Stacks and Queues (25) Code Problem / Data Structures and Algorithms / Hashing (24) Databases / SQL / Backup and Recovery (19) Code Problem / Data Structures and Algorithms / Arrays and Strings (19) Databases / SQL / Database Normalization (18) Code Problem / Data Structures and Algorithms / Time Complexity (17) Databases / SQL / Locking (16) Databases / SQL / Replication (15) Databases / SQL / SQL Queries (13) Code Problem / Data Structures and Algorithms / Graphs (13) Databases / SQL / Database Security (13)  More...

Recent solutions:

Check these solutions from our community:
Programming Languages / JavaScript DifficultyMedium JavaScript
The function should take in an array of integers and return the sum of the elements in the array.
About this solution: This is a great solution! The candidate has clearly thought through the problem and has provided a very efficient solution.
Nov 26
Programming Languages / JavaScript DifficultyMedium JavaScript
This technical problem involves writing a function that takes an array of integers as input and returns the sum of the integers in the array. An example input and output are provided in the problem statement.
About this solution: This is a great solution! The candidate has used the reduce method, which is an efficient way to iterate over an array and return a single value.
Nov 26
Programming Languages / JavaScript DifficultyMedium JavaScript
This technical problem deals with determining whether a string of parentheses is balanced. A string is considered balanced if there are an equal number of open and closed parentheses, and each open parentheses is matched with a closed parentheses.
About this solution: This solution is correct and demonstrates a good understanding of the problem. The approach is simple and efficient, and the code is clean and easy to read.
Nov 26
Programming Languages / JavaScript DifficultyMedium JavaScript
This function takes in a string as input and returns the same string with the first letter of each word capitalized.
About this solution: This solution is correct and demonstrates a good understanding of time and space complexity.
Nov 23
Programming Languages / JavaScript DifficultyMedium JavaScript
The function should take an array of integers as input and return the sum of the odd numbers in the array.
About this solution: This is a great solution! The candidate has thought through the problem and provided a complete solution that solves the problem. The candidate has also taken care to optimize the solution, which is great to see.
Nov 22
Programming Languages / JavaScript DifficultyMedium JavaScript
The function should take in an array of integers and return the sum of the odd integers in the array.
About this solution: This is a great solution! The candidate has thought through the problem and provided a complete solution that solves the problem. The candidate has also taken care to explain their thinking process, which is always a good sign.
Nov 22
Programming Languages / JavaScript DifficultyMedium JavaScript
This technical problem involves returning the sum of the elements in an array. An example input would be [1, 2, 3, 4] and the corresponding output would be 10.
About this solution: This is a great solution! The candidate has clearly thought through the problem and has provided a very efficient solution. Great job!
Nov 20
Programming Languages / JavaScript DifficultyMedium JavaScript
Given a string, reverse it word by word.
About this solution: This is a great solution! The candidate has thought through the problem and has provided a very readable and easy to understand solution. The solution uses a single loop to iterate through the string and a single array to store the words in reverse order. This is an optimal solution.
Nov 19