Problem I have recently solved the following Project Euler problem: In the 20×20 grid below, four numbers along a diagonal […]

# Tag: matrix

## Spiral filling an existing matrix in their respective positions in descending order efficiently

Problem Question: Sort the boundary elements in descending order using any standard sorting technique and rearrange them in the matrix. […]

## Eigenvalue calculation for a Java matrix library [closed]

Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]

## Finding the largest product of four consecutive numbers in a grid

Problem Project Euler #11 asks to find the largest product of four numbers of a grid, where the four numbers […]

## Create a matrix where if an element in an M×N matrix is 0, its entire row and column are set to 0

Problem How is my implementation? Are there improvements I can make to the variable names or any edge cases I […]

## Simple implementation of nxn Dense Matrix in Java

Problem So far this is what I have completed. Still working on these two methods boolean isIdentityMatrix(DenseMatrix matrix); boolean isInvertible(DenseMatrix […]

## Finding valid path on 2D Grid

Problem I got a 2D grid (n x n matrix). The user selects his player in this 2D grid and […]

## Search/match algorithm between 2 vectors [closed]

Problem Closed. This question is off-topic. It is not currently accepting answers. Questions must involve real code that you own […]

## Matrix of checkboxes – only 1 allowed in a row

Problem Task Create a matrix of checkboxes. The user must be able to select only 1 checkbox in a row […]

## Matrix transposition of a string

Problem Per a Reddit Daily Programming Challenge, I am performing a matrix transposition on a string using JavaScript. Example input: […]