'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...
mehr als ein Jahr vor
Gelöst
Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them.
For instance,
...
mehr als ein Jahr vor
Gelöst
Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...