community profile

photo

ziheng hu -凯发k8网页登录


自 2016 起处于活动状态

统计数据

content feed

排序方式:

已解决



return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). return f...

5 years 前

已解决



this is an extension of . in this case, the puzzle is...

5 years 前

已解决



🚀 imagine a non-relativistic simple situation. assume positions p0, p1, p2, and p3 are three dimensional cartesian ...

5 years 前

已解决



it's cody's 5th birthday, and you've been tasked with putting the candles on the cake. your goal is to maximize the distance bet...

5 years 前

已解决



this problem asks you to identify valid variations of the famous

5 years 前

已解决



*description* the traditional maze is 2-dimensional: the navigator can move in the positive or negative directions along two ...

5 years 前

已解决



the test suite includes a simple recursive fibonacci sequence generator, but it's terribly inefficient. one simple method for im...

5 years 前

已解决



you will be given three numbers: base, nstart, and nend. write a matlab script that will compute the sum of a sequence of both ...

5 years 前

已解决



⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ assume that there is a 100 liter tank. it is initially fi...

5 years 前

已解决



write a function to find the 5th root of a number. it sounds easy, but the typical functions are not allowed (see the test su...

5 years 前

已解决



write a function that will return the input value. however, your function must fail the first four times, only functioning prope...

5 years 前

已解决



let's define pair primes as follow; * *for 2 digits numbers:* 11 and 17 are pair primes because both of them are 2 digits pri...

5 years 前

已解决



*input*: * *x* —— an array of size *n-by-d*, where each row vector denotes a point in a d-dimensional space; * *g* —— a gro...

5 years 前

已解决



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...

5 years 前

已解决



building off of , your function will be provided with...

5 years 前

已解决



a "pandigital number of order x" is one that contains all of the numbers from 0 to x, but with no leading zeroes. if x>9, the cy...

5 years 前

已解决



*description* in lisp and its variants, function calls are done using parenthesis where the first item in the parenthesis is ...

5 years 前

已解决



*alice*: what? *"cody" * 5 == "codycodycodycodycody"*? you've gotta be kidding me! *bob*: no, i am serious! python supports...

5 years 前

已解决



put hexagonal numbers in a ( m x m ) spiral matrix and return the sum of its diagonal elements. formula of hexagonal numbers ...

5 years 前

已解决



find the minimum number of lane changes necessary to cross the entire track without running into any obstacles <

5 years 前

已解决



a tribute to cody's five-year anniversary should also celebrate the people behind cody, and in this particular case, our illustr...

5 years 前

已解决



find how many even fibonacci numbers are available in the first d numbers. consider the following first 14 numbers 1 1 2...

5 years 前

已解决



given the matrix a, return b in which all the rows that have one or more

5 years 前

已解决



given an integer n >= 0, generate the length n 1 row vector representing the n-th row of

5 years 前

已解决



return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. so if x = [1 2...

5 years 前

已解决



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...

5 years 前

已解决



given the matrix a, return the index r of the row with the most nonzero elements. assume there will always be exactly one row th...

5 years 前

已解决



given a row vector of numbers, find the indices of the two nearest numbers. examples: [index1 index2] = nearestnumbers([2 5 3...

5 years 前

已解决



given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with nan. example: input ...

5 years 前

已解决



given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. otherwise return false. e...

5 years 前

网站地图