Gelöst


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

fast 2 Jahre vor

Gelöst


Longest Divisor Run
Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

fast 2 Jahre vor

Gelöst


Sudoku

fast 2 Jahre vor

Gelöst


PIN code III

fast 2 Jahre vor

Gelöst


PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all ...

fast 2 Jahre vor

Gelöst


Card games

fast 2 Jahre vor

Gelöst


speed limit alert

fast 2 Jahre vor

Gelöst


Test

fast 2 Jahre vor

Gelöst


delta x

fast 2 Jahre vor

Gelöst


F.R.I.E.N.D.S

fast 2 Jahre vor

Gelöst


PIN code

fast 2 Jahre vor

Gelöst


Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.

fast 2 Jahre vor

Gelöst


Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - ...

fast 2 Jahre vor

Gelöst


longest common semi-substring
Finding longest common substring is a common problem in string processing. This problem is a variant of that. Two strings are g...

fast 2 Jahre vor

Gelöst


Counting the occurrences of a digit in a book
The printer has printed a book with 'p' pages. How many times did they use the character 'd'? In other words, how many times doe...

fast 2 Jahre vor

Gelöst


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

fast 2 Jahre vor

Gelöst


Inscribed Pentagon?
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

fast 2 Jahre vor

Gelöst


Given a number find two variables
If the input is *x*, find *a* and *b* from the following equation: *x = a*2^b*. Hint: *b* is an integer while *x* and *a* ar...

fast 2 Jahre vor

Gelöst


Converting numbers back from extended form
Thanks for all the help you guys gave me on writing out the numbers in extended form in <http://www.mathworks.com/matlabcentral/...

fast 2 Jahre vor

Gelöst


Convert Roman to Arabic Numerals
Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....

fast 2 Jahre vor

Gelöst


Battery Charge Indicator
Write a function called battery_charge that visually represents the charge of a battery. The function takes an integer paramete...

fast 2 Jahre vor

Gelöst


Fun with permutations
There are factorial(N) permutations of the numbers from 1 to N. For each of these permutations, we can find the set of indexes j...

fast 2 Jahre vor

Gelöst


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

fast 2 Jahre vor

Gelöst


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

fast 2 Jahre vor

Gelöst


Potential energy calculation

fast 2 Jahre vor

Gelöst


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

fast 2 Jahre vor

Gelöst


The Top 5 Primes
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

fast 2 Jahre vor

Gelöst


Self-similarity 1 - Every other term
Self-similar integer sequences are certain sequences that can be reproduced by extracting a portion of the existing sequence. Se...

fast 2 Jahre vor

Gelöst


Not square-free number sequence
Not square-free numbers are all positive integers divisible by a square greater than one: 4, 8, 9, 12, 16, 18, 20, 24, 25, 27, ....

fast 2 Jahre vor

Gelöst


How many bottles can you drink?
Sometimes if you buy a drink in a glass bottle you can return that bottle and get some money back. Let's assume we have "x" a...

fast 2 Jahre vor

Mehr laden