photo

Scott Chung


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Solver

View badges

Feeds

View by

Solved


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

5 years ago

Question


How can I transform an image to match with a 2D array?
Hello, I want to transform an image (rotate, shrink,...) automatically to match with a 2D array. The 2D array matrix has sim...

5 years ago | 1 answer | 0

1

answer

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

6 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

6 years ago