Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Greedy
2.1K+ articles
Searching
1.7K+ articles
Dynamic Programming
1.6K+ articles
Pattern Searching
623+ articles
Data Structures
150+ articles
strings
116+ posts
Recent Articles
Popular Articles
Commonly Asked Data Structure Interview Questions on Strings
Last Updated: 28 February 2025
Strings are essential data structures used to represent sequences of characters and are frequently encountered in coding interviews. Questions often focus on string manipu...
read more
Strings
Data Structures
strings
DSA
Check for Binary String
Last Updated: 23 November 2024
Given a string s, the task is to check if it is a binary string or not. A binary string is a string which only contains the characters '0' and '1'.Examples:Input: s = "010...
read more
Strings
strings
DSA
Concatenation of Two Strings
Last Updated: 31 October 2024
String concatenation is the process of joining two strings end-to-end to form a single string.ExamplesInput: s1 = “Hello”, s2 = “World”Output: “HelloWorld”Explanation: Joi...
read more
School Programming
strings
CSES Solutions - Letter Pair Move Game
Last Updated: 19 May 2024
There are 2n boxes in a line. Two adjacent boxes are empty, and all other boxes have a letter "A" or "B". Both letters appear in exactly n-1 boxes.Your task is to move the...
read more
Competitive Programming
BFS
strings
DSA
CSES Problems
Check string for all uppercase-lowercase or first uppercase and rest lowercase characters
Last Updated: 28 March 2024
Given a string S, the task is to check if all the characters in S are in lowercase, or all the characters are in uppercase or only the first character is in uppercase, and...
read more
Strings
strings
DSA
How to Convert a String to an Long in Java ?
Last Updated: 26 February 2024
In Java, String to Integer Conversion is not always effective as the size of the String can overpass Integer. In this article, we will learn the method provided by the Lon...
read more
Java
Java Programs
java-Long
Picked
Java-String-Programs
strings
Java Examples
How to Remove Duplicates from a String in Java Using Hashing?
Last Updated: 12 February 2024
Working with strings is a typical activity in Java programming, and sometimes we need to remove duplicate characters from a string. Using hashing is one effective way to d...
read more
Java
Java-Strings
Java Programs
Picked
strings
Java Examples
How to Remove Duplicates from a String in Java?
Last Updated: 12 February 2024
Working with strings is a typical activity in Java programming, and sometimes we need to remove duplicate characters from a string. In this article we have given a string,...
read more
Java
Java-Strings
Java Programs
Picked
strings
Java Examples
How to Remove Duplicates from a String in Java Using Regex ?
Last Updated: 12 February 2024
In Java programming, Regex (regular expressions) is a very important mechanism. It can be used to match patterns in strings. Regular expressions provide a short and simple...
read more
Java
Java-Strings
Java Programs
Picked
Java-String-Programs
strings
Java Examples
How to Convert a String to an Numeric in Java?
Last Updated: 12 February 2024
In Java programming, there are situations in which we must convert a string of numeric characters into one of the following data types: double, float, long, or int. To exe...
read more
Java
Java-Strings
Java Programs
Picked
strings
Java Examples
How to Find the Intersection of Two Strings in Java?
Last Updated: 12 February 2024
We know that the Strings are a collection of characters so if we want to find the intersection of two Strings the simple way is we can compare each character of the first ...
read more
Java
Java-Strings
Java Programs
Picked
strings
Java Examples
How to Check if a String contains only ASCII in Java?
Last Updated: 12 February 2024
The full form of ASCII is the American Standard Code for Information Interchange. It is the numeric representation of Character. As Java supports multiple languages, and i...
read more
Java
Java-Strings
Java Programs
Picked
strings
Java Examples
Java Program to Capitalize the First Letter of Each Word in a String
Last Updated: 07 February 2024
In Java Programming, we can be able to capitalize the first letter of each word in the given String value by using toUpperCase(), toLowerCase(), and another one is substri...
read more
Java
Java Programs
Picked
Java-String-Programs
strings
Java Examples
How to Shuffle Characters in a String in Java?
Last Updated: 31 January 2024
In this article, we will learn how to shuffle characters in a String by using Java programming. For this, we have taken a String value as input and the method is available...
read more
Java
Java Programs
Picked
Java-Character
Java-String-Programs
strings
Java Examples
Minimize operations to restore original string by permutation
Last Updated: 05 March 2024
Given a string S and permutation P, both of length N. In one operation you can change the position of each and every character of the string from S[i] to S[P[i]]. Determin...
read more
Competitive Programming
Picked
strings
Geeks Premier League
DSA
Geeks Premier League 2023
1
2
3
4
5
6
7
8
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !