Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Write a program to perform matrix multiplication for two hardcoded matrices.

Hard

Problem Statement

Write a program to perform matrix multiplication for two hardcoded matrices.

Sample Input

Matrices: A = [[1, 2], [3, 4]], B = [[5, 6], [7, 8]]

Sample Output

Result:
19 22 
43 50 

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
using System; class MatrixMultiplication { static void Main() { // Perform matrix multiplication for the given matrices } }
Log in or sign up to run or submit your code.Log inSign up
Input
Matrices: A = [[1, 2], [3, 4]], B = [[5, 6], [7, 8]]
Expected Output
Result:
19 22 
43 50