Community Profile

photo

Benjamin Leduc


Last seen: 9 månader ago Active since 2021

Statistics

  • Promoter
  • Solver

View badges

Content Feed

View by

Solved


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

mer än 2 år ago

Solved


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

mer än 2 år ago