Community Profile

photo

Jiacheng Feng


Last seen: mehr als 2 Jahre vor Aktiv seit 2017

Followers: 0   Following: 0

Statistiken

  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

etwa 4 Jahre vor

Gelöst


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

etwa 4 Jahre vor

Gelöst


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

etwa 4 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa 4 Jahre vor

Gelöst


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

mehr als 6 Jahre vor