CodenQuest
Sign In
Continue on iOS
Continue on Android
Questions
Python
Explore all Python concepts and ecosystem
Fundamentals
0/9
Sum of Two Numbers
Math
Calculate the sum of two numbers.
2m
Minutes to Seconds
Math
Convert minutes to seconds
2m
Access First Element
Array
Retrieve the first element from a non-empty array
2m
Less than 42
Math
Determine if the sum of two numbers is less than 42
2m
Space Fuel Calculation
Math
Calculate the total fuel needed for a space journey, based on the distance and a minimum fuel reserve requirement
2m
Compare String Lengths
String
Check if two strings have the same length
2m
Check String Length
String
Determine if the length of a given string is a multiple of three
2m
Access Last Element
Array
Retrieve the last element from a non-empty array
2m
Calculate Absolute Value
Math
Find the absolute value of a given number
2m
Control Flow
0/9
Find Index
Array
Find the index of a given target value in an array
5m
Convert Hours and Minutes to Seconds
Math
Convert a time given in hours and minutes to its equivalent in seconds
2m
Concatenate First and Last Name
String
Concatenate two strings representing a first name and a last name, separated by a space
2m
Concatenate Two Arrays
Array
Combine the elements of two arrays into a new array
5m
Check if Array Contains Number
Array
Determine if a given number is present in an array of integers
5m
Check Last Character
String
Determine if the last character of a string is 'C' or 'Q', case-insensitive
5m
Filter Outside Range
Array
Filter out elements from an array that are outside a specified range
5m
Increment Array Elements
Array
Create a new array by adding one to each element of the given array
5m
Count Occurrences
String
Count how many times a specific character appears in a given string
10m
Functions/Modules
0/8
Reverse Array Elements
Array
Reverse the order of elements in an array of integers
2m
Remove First N Characters
String
Remove the first N characters from a given string. If N exceeds the length of the string, return an empty string
5m
Count Words
String
Count the number of words in a given string
5m
Check for Spaces
String
Determine if a given string contains one or more spaces
5m
Repeat String
String
Create a new string by repeating a given string a specified number of times
5m
Concatenate First and Last Characters
String
Create a new string by concatenating the first and last characters of the given string
5m
Count Vowels
String
Count the number of vowels in a given string
5m
Common Elements
Array
Identify the common elements between two arrays
10m
Data Structures
0/8
Is Average Whole Number
Math
Array
Determine if the average of an array of integers is a whole number
10m
Calculate Factorial
Recursion
Math
Compute the factorial of a number using recursion
10m
Pattern Index
String
Find the starting index of a substring within a string
10m
Identify Extra Character
String
Find the character that is present in the modified string but not in the original string
10m
String Addition
Math
String
Add two non-negative numbers represented as strings without using built-in conversion functions
10m
Binary Complement
Bit Manipulation
Math
Calculate the binary complement of a given number
10m
Boat Docking Availability
Array
Determine if it's possible to dock all new boats without adjacent placements
10m
Self Dividing Numbers in Range
Math
Find self-dividing numbers within a given range
10m
File Handling/Exceptions
0/8
Indices for Two Sum
Binary Search
Hash Table
Array
Find the indices of the two numbers in an array that add up to a specific target sum
10m
Calculate Fuel for Advanced Spaceship
Math
Calculate the total fuel required for an advanced spaceship
10m
Convert Timecode to Seconds
Math
String
Convert a timecode string in the format hh:mm:ss to total seconds
10m
Happy Number
Math
Check if a given number is a 'happy' number
10m
Power of Two
Math
Determine if a number is a power of two
10m
Match Words Pattern
String
Determine if a string of words follows a given pattern
10m
Validate Capitalization Usage
String
Check if a word uses capital letters correctly
10m
Attendance Award Eligibility
String
Check if a student's attendance record qualifies for an award
10m
Classes/OOP
0/7
Merge Two Sorted Arrays
Sorting
Array
Merge two sorted arrays into one sorted array
10m
XOR Value Pair
Bit Manipulation
Find the minimum XOR value that can be obtained from pairing elements in an array
10m
Check Anagram
String
Determine if one string is an anagram of another
10m
Reverse Words in Sentence
String
Reverse characters of each word in a sentence
10m
Return to Origin
String
Check if a sequence of moves returns the sailboat to the origin
10m
Find Pivot Index
Array
Find the pivot index where left and right sums are equal
10m
Add to Array-Form of Number
Math
Array
Add an integer to an array-form number
10m