Register for Codestudio Saturday Contest
Skip to content

takeUforward

~ Strive for Excellence

  • Striver’s SDE Sheet
  • Striver’s A2Z DSA Course/Sheet
  • Striver’s DP Series
  • CS Subjects
    • SDE Core Sheet
    • Operating Systems
    • Computer Networks
  • Interview Prep
    • Blind 75
    • Striver Tree Series
    • Striver’s CP Sheet
    • TCS NQT Coding Sheet
    • Interview Experience
    • Interview Prep Roadmap
  • Programming
    • Learn C++
    • C++ STL
    • C Programs
    • Data Structure
  • Courses

Category: Matrix

May 19, 2022 Arrays / C programs / Data Structure / Matrix

Transpose of a Matrix in C

Problem Statement: Given a Matrix print the transpose of a matrix. Examples: Example 1: Input: mat[][] = 1 2 3

Continue reading
May 18, 2022 Arrays / C programs / Data Structure / Matrix

Matrix Addition in C

Problem Statement: Given two matrices add the value of the two matrices and print the resultant matrix. Example 1: Input:

Continue reading
May 18, 2022 Arrays / Data Structure / Matrix

Spiral Traversal of Matrix

Problem Statement: Given a Matrix, print the given matrix in spiral order. Examples: Example 1: Input: Matrix[][] = { {

Continue reading
March 27, 2022 Arrays / Data Structure / Matrix

Matrix Boundary Traversal

Problem Statement: Given a matrix, print only the boundary elements of the matrix. Boundary elements are the ones that are

Continue reading
March 12, 2022 Arrays / Data Structure / Matrix

Rotate Matrix anti-clockwise by 90 degree

Problem statement: Given a matrix, your task is to rotate matrix anti-clockwise by 90 degrees. Examples: Example 1: Input: {{1,2,3},

Continue reading
March 7, 2022 Arrays / Data Structure / Matrix

Transpose a Matrix : Program 0(1) space

Problem statement: Transpose a Matrix. Given a matrix, your task is to find its transpose of the given matrix. Transpose:

Continue reading
December 21, 2021 Arrays / Data Structure / Matrix

Set Matrix Zero

Problem Statement: Given a matrix if an element in the matrix is 0 then you will have to set its

Continue reading
December 9, 2021 Arrays / Data Structure / Matrix

Rotate Image by 90 degree

Problem Statement: Given a matrix, your task is to rotate the matrix 90 degrees clockwise. Note: Rotate matrix 90 degrees

Continue reading
October 24, 2021 Data Structure / Matrix

Search in a sorted 2D matrix

Problem Statement: Given an m*n 2D matrix and an integer, write a program to find if the given integer exists

Continue reading

Subscribe

I want to receive latest posts and interview tips
Loading

Recent Posts

  • Recursive Bubble Sort Algorithm
  • Recursive Insertion Sort Algorithm
  • Right rotate an array by D places
  • Left rotate an array by D places
  • Find the missing number in an array

Accolite Digital Amazon Arcesium Bank of America Barclays BFS Binary Search Binary Search Tree Commvault CPP DE Shaw DFS DSA Self Paced google HackerEarth Hashing infosys inorder Interview Experience Java Juspay Kreeti Technologies Morgan Stanley Newfold Digital Oracle post order queue recursion Samsung SDE Core Sheet SDE Sheet Searching set-bits sorting Strivers A2ZDSA Course sub-array subarray Swiggy takeuforward TCS TCS CODEVITA TCS Ninja TCS NQT VMware XOR

Copyright © 2023 takeuforward | All rights reserved