How to Filter a Number in C
The challenge
The number has been mixed up with the text. Your goal is to retrieve the number from the text, can you return the number back to its …
Read Article →31 articles about c development, tools, and best practices
The number has been mixed up with the text. Your goal is to retrieve the number from the text, can you return the number back to its …
Read Article →You live in the city of Cartesia where all roads are laid out in a perfect grid. You arrived ten minutes too early to an appointment, so …
Read Article →You will be given a string and your task will be to return a list of ints detailing the count of uppercase letters, lowercase, numbers …
Read Article →You’ll have to translate a string to Pilot’s alphabet (NATO phonetic alphabet).
Input:
If, you can read?
Output:
India …
Given an array of integers of any length, return an array that has 1 added to the value represented by the array.
Your task is to make function, which returns the sum of a sequence of integers.
The sequence is defined by 3 non-negative values: begin, …
Read Article →Your task is to return the sum of Triangular Numbers up-to-and-including the nth Triangular Number.
Triangular Number: “any of the …
Read Article →Write a program to determine if a string contains only unique characters. Return true if it does and false otherwise.
The string may …
Read Article →Given a Divisor and a Bound , Find the largest integer N , Such That ,
Conditions :
Digital Cypher assigns to each letter of the alphabet unique number. For example:
a b c d e f g h i j k l m
1 2 3 4 5 …
Read Article →
Input:
strngarrOutput of function contain_all_rots(strng, arr) (or containAllRots or contain-all-rots): …
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to …
Read Article →Given an input of an array of digits, return the array with each digit incremented by its position in the array: the first digit will be …
Read Article →Given a number return the closest number to it that is divisible by 10.
Example input:
22
25
37
Expected output:
20
30
40
Reverse every other word in a given string, then return the string. Throw away any leading or trailing whitespace, while ensuring there …
Read Article →Two red beads are placed between every two blue beads. There are N blue beads. After looking at the arrangement below work out the …
Read Article →Introduction
Welcome Adventurer. Your aim is to navigate the maze and reach the finish point without touching any walls. Doing so will …Read Article →
The number 89 is the first integer with more than one digit that fulfills the property partially introduced in the title of this …
You need to create a function that when provided with a triplet, returns the index of the numerical element that lies between the other …
Read Article →Task
King Arthur and his knights are having a New Years party. Last year Lancelot was jealous of Arthur, because Arthur had a date and …
Read Article →Build a pyramid-shaped tower, as an array/list of strings, given a positive integer number of floors. A tower block is represented with …
A number m of the form 10x + y is divisible by 7 if and only if x − 2y is divisible by 7. In other words, subtract twice the last digit …
Read Article →The Western Suburbs Croquet Club has two categories of membership, Senior and Open. They would like your help with an application form …
Read Article →This program tests the life of an evaporator containing a gas.
We know the content of the evaporator (content in ml), the percentage of …
Read Article →