Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag is for challenges involving matrices. A matrix, also known as a 2D array, is a list of numbers arranged in a rectangle with rows and columns.
8
votes
14
answers
813
views
Ragged Matrix Indexing
A ragged matrix, is a matrix that has a different number of elements in each row. … Your challenge is to write a program in any favorable language to find the indices of all occurrences of target in the ragged matrix. …
13
votes
13
answers
2k
views
Mat Printing Matrix
A manufacturing company wants to print a design on mats of varying dimensions, and they hired you to program a robot to make these mats. The design consists of alternating rings of any 2 symbols on a …
12
votes
5
answers
924
views
Simulating Bombs
You are given an integer n, representing the grid size of n*n
You are then given the grid of n*n
You may take in the input as a list of n lines
Output the shock waves of all bombs
You may output as a matrix …
12
votes
7
answers
749
views
Knights Jam | Chess
You are allowed to take in the input as a matrix or array/list
You are allowed to use 0 or in the input instead of . …
10
votes
7
answers
318
views
Cell Evolution Matrix
Your lab needed to simulate how a particular cell evolves over time in a 2D grid space. A sample 2D grid space below shows a single cell at the centre of the grid.
0 0 0 0 0
0 0 0 0 0
0 0 1 0 0
0 0 0 …