Skip to content

Tag Archives: strings

Before getting into at() method we should know about what arrays, strings and Typed array in JavaScript is and also how to access arrays Arrays:… Read More
Given a string S of size N, representing a large integer. The task is to find the largest valued even integer which is a non-empty… Read More
Given N lowercase sentences, the task is to find the minimum count of words among all of these sentences.  Examples:  Input: arr[] = { “there is… Read More
Given a binary array arr[] containing N integer elements, the task is to create a string s which contains all N elements at the same… Read More
Given a string S of size N, the task is to sort the string based on their ASCII values. Examples: Input: S = “Geeks7”Output: 7GeeksExplanation:… Read More
Given an array arr[] consisting of N strings where each string consists of ‘(‘ and ‘)’, the task is to check if a Regular Bracket… Read More
Given a string S, in one move it is allowed to remove two adjacent equal characters. After the removal, both endpoints of the removed characters… Read More
Pre-requisite: if-else This article focuses on discussing what happens when the print statement is used inside the if-else conditional statement. For example: Consider the below… Read More
Comma Separated Values or CSV is a type of text file where each value is delimited by a comma. CSV files are very useful for… Read More
Given a string S, the task is to find the string which is lexicographically smallest and not a subsequence of the given string S.  Examples:… Read More
Given an array of strings, words[] of size M and a string target of size N. The task is to find the minimum number of… Read More
String data type makes a very important part of any programming language. Rust handles strings a bit differently from other languages.   The String data… Read More
Given two strings S1 and S2, representing sentences, the task is to print both sentences after removing all words which are present in both sentences.… Read More
Given a binary string S of length N (1 ≤ N ≤ 105), the task is to print a permutation A consisting of integers 0… Read More
Given a binary string S, the task is to convert the given string S to its lexicographic maximum form by reversing substrings having an even… Read More

Start Your Coding Journey Now!