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
261. Perform a diagonal traversal of a matrix (left to right).
262. Print the elements of a matrix in anti-diagonal order.
263. Print all elements in the matrix in reverse order.
264. Print all elements in a diagonal pattern starting from the top-left.
265. Print elements in a border spiral pattern, alternating direction.
266. Replace all negative numbers in a matrix with zero and return the modified matrix.
267. Replace all even numbers in a matrix with -1 and return the modified matrix.
268. Replace all odd numbers in a matrix with -1 and return the modified matrix.
269. Zero out an entire row if a zero is found in that row and return the modified matrix.
270. Zero out an entire column if a zero is found in that column and return the modified matrix.
271. Calculate the mean of all elements in a matrix.
272. Calculate the median of all elements in a matrix.
273. Calculate the standard deviation of elements in a matrix.
274. Count the number of even and odd elements in a matrix.
275. Calculate the sum of the primary and secondary diagonals.
276. Check if two matrices are equal in size and content.
277. Identify the first row with all zeros and return its index.
278. Identify the first column with all zeros and return its index.
279. Create a function to find the longest consecutive sequence in a matrix.
280. Create a function to count the number of islands in a binary matrix.
281. Scale a matrix by a factor, modifying its elements accordingly.
282. Shear a matrix horizontally and vertically.
283. Reflect a matrix about the y-axis and return the modified matrix.
284. Rotate a matrix by an arbitrary angle using bilinear interpolation.
285. Perform affine transformation on a matrix.
286. Implement matrix multiplication using Strassen's algorithm.
287. Create a function to check for symmetric matrices.
288. Implement LU decomposition for a matrix.
289. Implement Gaussian elimination for solving linear equations.
290. Create a function to find eigenvalues of a 2×2 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.