|
|
|
|
|
|
a***m 发帖数: 5037 | 1 phone coding questions :
1 - Write a function that takes an integer N and returns the Nth number of a
Fibonacci suite.
2 - Given a list of Integer. Write a function that takes an integer and
returns all the pair of integers included in the given list that sum up with
this integer.
Face to face coding questions :
1 - Write a function that takes an integer and return a string of this
integer in Roman number format.
2 - Go game. Write a function that takes a position (x,y) in a go game graph
and returns a boolean telling if this position contains a white or black
piece and if this piece is trapped or not.
3.Using an already implemented method Rand5() that generates a random
integer between the ranges 1-5 uniformly. Using this method, implement a a
new method that returns a random integer in the range 1-7 uniformly, i.e.
Rand7(). | j******n 发帖数: 3 | 2 All these or variants are in CC150
a
with
graph
【在 a***m 的大作中提到】 : phone coding questions : : 1 - Write a function that takes an integer N and returns the Nth number of a : Fibonacci suite. : 2 - Given a list of Integer. Write a function that takes an integer and : returns all the pair of integers included in the given list that sum up with : this integer. : Face to face coding questions : : 1 - Write a function that takes an integer and return a string of this : integer in Roman number format. : 2 - Go game. Write a function that takes a position (x,y) in a go game graph
| c********p 发帖数: 1969 | | c********p 发帖数: 1969 | |
|
|
|
|
|
|