AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Matrix-manipulation-question / Level: Intermediate
201. Create a matrix of size m×n with random integers in a specified range.
202. Generate a n×n identity matrix using a custom function.
203. Create a m×n matrix filled with a specific pattern (e.g., checkerboard).
204. Create a matrix with random floating-point numbers and round them to two decimal places.
205. Initialize a 3×3 matrix with specific values given in a list.
206. Create a Toeplitz matrix from a given first row and first column.
207. Generate a Vandermonde matrix from a given list of numbers.
208. Create a matrix of prime numbers up to a certain limit in a specified dimension.
209. Create a 4×4 matrix that represents a rotation transformation about the origin.
210. Create a matrix of size n×n filled with Fibonacci numbers.
211. Print all elements of a matrix in zigzag (snake-like) order.
212. Print the elements of a matrix in spiral order, starting from the outer layer.
213. Print all elements along the primary and secondary diagonals.
214. Print elements above and below the main diagonal separately.
215. Print the last k rows of a matrix.
216. Print the first k columns of a matrix.
217. Print all unique elements from a matrix.
218. Print the sum of each row and each column in a matrix.
219. Print the boundary elements of a matrix in clockwise order.
220. Print all elements of a matrix that are greater than a specified value.
221. Implement matrix addition for two matrices of arbitrary size.
222. Implement matrix subtraction for two matrices of arbitrary size.
223. Multiply two matrices, ensuring dimension compatibility.
224. Transpose a given matrix using an in-place method.
225. Calculate the determinant of a 3×3 matrix.
226. Find the inverse of a 3×3 matrix using Gaussian elimination.
227. Multiply a matrix by a scalar, allowing for negative scalars.
228. Calculate the sum of all elements in a matrix.
229. Calculate the product of all elements in a matrix.
230. Compute the Frobenius norm of a matrix.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Advanced
Most Visited
Implement Dijkstra's algorithm using a matrix for shortest path.
Generate a matrix of the first n Fibonacci numbers in a spiral.
Sort each row of a matrix in descending order.
Generate a binary matrix representing a graph's adjacency.
Implement a function to compute the direct sum of two matrices.
Implement Lagrange multipliers for constrained optimization problems using matrices.
Rotate a matrix by an arbitrary angle using bilinear interpolation.
Implement matrix exponentiation for powers of a matrix.
Create a function to apply a color filter to an image matrix.
Implement selection sort on a matrix.
Scale a matrix by a factor, modifying its elements accordingly.
Implement a function to convert a matrix into a heap structure.
Perform a bitwise OR operation on two matrices.
Transpose a given matrix using an in-place method.
Perform a bitwise AND operation on two matrices element-wise.