解決済み


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

3ヶ月 前

解決済み


Bell Triangle
Form the bell triangle upto nth bell number posotion; * if n=5 * y= [1 0 0 0 0; 1 2 0 0...

3ヶ月 前

解決済み


Pell numbers
Find the nth pell number <https://en.wikipedia.org/wiki/Pell_number>

3ヶ月 前

解決済み


Find Logic 1

3ヶ月 前

解決済み


Find Logic 3

3ヶ月 前

解決済み


Find Logic 4

3ヶ月 前

解決済み


Find Logic 6

3ヶ月 前

解決済み


Find Logic 7

3ヶ月 前

解決済み


Find Logic 8

3ヶ月 前

解決済み


Find Logic 9

3ヶ月 前

解決済み


Find Logic 10

3ヶ月 前

解決済み


Find Logic 11

3ヶ月 前

解決済み


Find Logic 13

3ヶ月 前

解決済み


Find Logic 12

3ヶ月 前

解決済み


Find Logic 15

3ヶ月 前

解決済み


Find Logic 17

3ヶ月 前

解決済み


Find Logic 18

3ヶ月 前

解決済み


Find Logic 19

3ヶ月 前

解決済み


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

3ヶ月 前

解決済み


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

3ヶ月 前

解決済み


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

3ヶ月 前

解決済み


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

3ヶ月 前

解決済み


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

3ヶ月 前

解決済み


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

3ヶ月 前

解決済み


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

3ヶ月 前

解決済み


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

3ヶ月 前

解決済み


Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

3ヶ月 前

解決済み


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

3ヶ月 前

解決済み


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

3ヶ月 前

解決済み


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

3ヶ月 前

Load more