Lesandu Wenitha Sugathadasa
Followers: 0 Following: 0
I love aircrafts and jets
Statistiques
RANG
12 473
of 289 954
RÉPUTATION
4
CONTRIBUTIONS
0 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
16 139 of 19 611
RÉPUTATION
6
CLASSEMENT MOYEN
5.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
1
ALL TIME TÉLÉCHARGEMENTS
11
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
plus de 2 ans il y a
A résolu
the average value of the elements
Calculate the average value of the elements in the array
plus de 2 ans il y a
A résolu
Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...
environ 3 ans il y a
A résolu
Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...
environ 3 ans il y a
A résolu
Our Dad went to Buy a car But the car seller can't think the easiest way to get the car out Give Him a solution!
plus de 3 ans il y a
Problème
Our Dad went to Buy a car But the car seller can't think the easiest way to get the car out Give Him a solution!
plus de 3 ans il y a | 1 | 4 solveurs
A résolu
Pascal's Matrix
Given an integer n ≥ 0, generate the ( _n_+1) × ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...
plus de 3 ans il y a
A résolu
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
plus de 3 ans il y a
A résolu
Count the days
Count the occurrence of a particular day (e.g. Monday) in a given year.
plus de 3 ans il y a
A résolu
Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...
plus de 3 ans il y a
A résolu
microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...
plus de 3 ans il y a
A résolu
Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
plus de 3 ans il y a
A résolu
Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...
plus de 3 ans il y a
A résolu
Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what a...
plus de 3 ans il y a
A résolu
calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283
plus de 3 ans il y a
A résolu
How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...
plus de 3 ans il y a
A résolu
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
plus de 3 ans il y a
A résolu
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
plus de 3 ans il y a
A résolu
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
plus de 3 ans il y a
A résolu
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
plus de 3 ans il y a
A résolu
Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...
plus de 3 ans il y a
A résolu
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
plus de 3 ans il y a
A résolu
Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...
plus de 3 ans il y a
A résolu
birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...
plus de 3 ans il y a