Home
SOURCE CODE
_C++
__Conditionals and Loops
__Arrays
__Recursions
__Character & 2D Array
__Searching & Sorting
PLACEMENT
_Placement Mcq's
COURSES
_Placement Programs
JOBS
JAVA
EARN WITH CRYPTO
Contact Us
About Us
_Disclaimer
_Privacy Policy
_Terms and Conditions
Showing posts with the label
Character Arrays and 2D Arrays
Show all
Write a program to do basic string compression. For a character which is consecutively repeated more than once, replace consecutive duplicate occurrences with the count of repetition.
Character Arrays and 2D Arrays
-
December 02, 2021
Read more
For a given a string(str), find and return the highest occurring character.
Character Arrays and 2D Arrays
-
December 02, 2021
Read more
For a given a string(str) and a character X, write a function to remove all the occurrences of X from the given string.
Character Arrays and 2D Arrays
-
December 02, 2021
Read more
Aadil has been provided with a sentence in the form of a string as a function parameter. The task is to implement a function so as to print the sentence such that each word in the sentence is reversed.
Character Arrays and 2D Arrays
-
December 02, 2021
Read more
For a given string(str), remove all the consecutive duplicate characters.
Character Arrays and 2D Arrays
-
December 02, 2021
Read more
For a given two strings, 'str1' and 'str2', check whether they are a permutation of each other or not.
Character Arrays and 2D Arrays
-
November 28, 2021
Read more
For a given two-dimensional integer array/list of size (N x M), print it in a spiral form. That is, you need to print in the order followed for every iteration:
Character Arrays and 2D Arrays
-
November 28, 2021
Read more
For a given two-dimensional integer array/list of size (N x M), print the array/list in a sine wave order, i.e, print the first column top to bottom, next column bottom to top and so on.
Character Arrays and 2D Arrays
-
September 07, 2021
Read more
For a given two-dimensional integer array/list of size (N x M), you need to find out which row or column has the largest sum(sum of all the elements in a row/column) amongst all the rows and columns.
Character Arrays and 2D Arrays
-
September 07, 2021
Read more
Given a 2D integer array of size M*N, find and print the sum of ith column elements separated by space.
Character Arrays and 2D Arrays
-
September 03, 2021
Read more
Reverse the given string word wise. That is, the last word in given string should come at 1st place, last second word at 2nd place and so on. Individual words should remain as it is.
Character Arrays and 2D Arrays
-
September 02, 2021
Read more
Given an input string S that contains multiple words, you need to remove all the spaces present in the input string.
Character Arrays and 2D Arrays
-
August 27, 2021
Read more
Given an input string S and two characters c1 and c2, you need to replace every occurrence of character c1 with character c2 in the given string.
Character Arrays and 2D Arrays
-
August 26, 2021
Read more
Given a string, determine if it is a palindrome, considering only alphanumeric characters.
Character Arrays and 2D Arrays
-
August 26, 2021
Read more
Older Posts
Featured Post
Filter vs Middleware in .NET Core
July 24, 2025
Popular Posts
What is Angular? A Beginner's Guide to the Framework
Async pipe | Full explaination
Report Abuse
Contact Form
Name
Email
*
Message
*