Get 100% scholarship and clear FAANG Interviews | Use code “striver” for 50% off on test fee
Skip to content

takeUforward

~ Strive for Excellence

  • Striver’s SDE Sheet
  • SDE Core Sheet
  • Interview Experience
  • Data Structure
  • Advertise with us
  • Join takeUforward

Category: Data Structure

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

strcpy in C

Problem Statment: Given two Strings copy the contents of one string to another. Example 1: Input: str1=”Takeuforward”, str2=”” Output: str2=Takeuforward

Continue reading
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 / String

String Concatenation in C

Problem Statment: Given two Strings concatenate one string to another and print the result. Examples: Example 1: Input: str1=”Take”, str2=”uforward”

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

Linear Search in C

Problem Statement: Given an array, and an element num the task is to find if num is present in the

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 / C programs / Data Structure / String

Reverse String in C

Problem Statement: Given a String, reverse the string and print it. Example 1: Input: str = “Takeuforward” Output: drawrofuekat Example

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
May 14, 2022 Arrays / Data Structure

Prefix Sum Technique

In an array of integers n, the prefix sum array is the array whose every element is the sum of

Continue reading
May 7, 2022 Data Structure / String

KMP Algorithm

Problem Statement: Implement the Knuth-Morris-Pratt KMP string matching algorithm. Examples: Example 1: Input: String = ”aaaaaaaamaaaaaab” and Pattern = “aaaaaab”

Continue reading
May 7, 2022 Data Structure / Maths

Count digits in a number

Problem Statement: Given an integer N , write program to count number of digits in N. Examples: Example 1: Input:

Continue reading

Posts navigation

1 2 3 … 35 Next Posts»

Subscribe

I want to receive latest posts and interview tips
Loading

Recent Posts

  • C Programs : List of most popular programs in C
  • strcpy in C
  • lcm of two numbers in C
  • Pointer in C
  • Transpose of a Matrix in C

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

Copyright © 2022 takeuforward | All rights reserved