Problem Given two binary strings, return their sum (also a binary string). Example For example, a = "11" b = "1" Return "100" string.
Erkan Ercan
Published on Jan 14th, 2018

#### Counting the String

Problem Return the number of times that the string "code" appears anywhere in the given string, except we'll accept any letter for the 'd', so "cope" and "cooe" count. Example solution('aaacodebbb ...
Erkan Ercan
Published on Jan 14th, 2018

#### Function of if student passes a course

Write a function that decides if a student passes a course or not and returns result. The function receives 2 integer parameters ; first grade and then attendance percentage. If the attendance is bel ...
Emre Dipi
Published on Jan 14th, 2018

#### Return the Sum Except 6-7

Problem Return the sum of the numbers in the array, except ignore sections of numbers starting with a 6 and extending to the next 7 (every 6 will be followed by at least one 7). Example solution([ ...
Erkan Ercan
Published on Jan 12th, 2018

#### 1 to 10 Logic Test

Problem Given a number n, return True if n is in the range 1..10, both are included. Unless outSideMode is True, in which case return True if the number is less or equal to 1, or greater or equal t ...
Erkan Ercan
Published on Jan 12th, 2018

#### Sum of all integer numbers up to N

Write a function that gets an integer num = 20 as argument than returns sum of all integer numbers up to and including number Example Solution When the function called with following input num = 10 ...
Ahmet Önder Gür
Published on Jan 12th, 2018

#### Blow Out Birthday Cake Candle!

Colleen is turning n years old! Therefore, she has n candles of various heights on her cake, and candle i has height heighti . Because the taller candles tower over the shorter ones, Colleen can on ...
Erkan Ercan
Published on Jan 10th, 2018

#### Horse Racing Duals

A Hippodrome is organizing a new type of horse racing: duals. During a dual, only two horses will participate in the race. In order for the race to be interesting, it is necessary to try to select tw ...
Erkan Ercan
Published on Jan 6th, 2018

#### Regular Expression Match

Implement wildcard pattern matching with support for '?' and '*'. '?' : Matches any single character. '*' : Matches any sequence of characters (including the empty sequence). The matching should cov ...
Murat Sütunç
Published on Jan 4th, 2018

#### Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than floor(n/2) times. You may assume that the array is non-empty and the majority element ...
Murat Sütunç
Published on Jan 4th, 2018

### Contribute

Codela is run by you!

Help your fellow members learn faster and raise the quality of challenges by contributing.