Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
How do you calculate the sum of array elements?
Consider using a for loop.
What needs to be checked to confirm if a string is a palindrome?
Think about comparing characters from both ends.
What is the time complexity of a linear search?
Think of how many items you may need to check.
True or False: A palindrome is a word that is spelled the same forwards and backwards.
Think of examples like 'level' or 'radar'.
Create a program that accepts a list of integers and returns a new list containing only even numbers.
Use the modulus operator to check for even numbers.
Write a function to reverse a string without using built-in functions.
Consider creating an empty string to build your reversed result.
4 more questions in this section. Enroll free to practise them all.
Enroll free