Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Searching
1.7k+ articles
Hash
1.2k+ articles
frequency-counting
730+ articles
binary-string
370+ articles
substring
340+ articles
  1. DSA
  2. >
  3. Data Structures
  4. >
  5. Strings

Strings

3.2k+ posts
String in Data Structure
Last Updated: 11 December 2024
A string is a sequence of characters. The following facts make string an interesting data structure.Small set of elements. Unlike normal ar ...read more
Strings
DSA
Data Structure Types, Classifications and Applications
Last Updated: 11 February 2025
A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accesse...read more
image
Arrays
Strings
Linked List
Tree
Graph
Stack
Queue
Data Structures
DSA
DSA-Blogs
Top 50 String Coding Problems for Interviews
Last Updated: 19 February 2025
String-related problems often assess a candidate's understanding of concepts like pattern matching, manipulation, and efficient algorithm de...read more
image
Strings
GFG Sheets
DSA
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Searching
1.7k+ articles
Hash
1.2k+ articles
frequency-counting
730+ articles
binary-string
370+ articles
substring
340+ articles
Java Strings
Last Updated: 06 May 2025
In Java, a String is the type of object that can store a sequence of characters enclosed by double quotes, and every character is stored in ...read more
image
Strings
Java
Java-Strings
Java-StringBuilder
java-StringBuffer
Caesar Cipher in Cryptography
Last Updated: 23 April 2025
The Caesar Cipher is one of the simplest and oldest methods of encrypting messages, named after Julius Caesar, who reportedly used it to pro...read more
image
Strings
cryptography
Computer Networks
GATE CS
DSA
C Program to Check for Palindrome String
Last Updated: 10 January 2025
A string is said to be palindrome if the reverse of the string is the same as the string. In this article, we will learn how to check whethe...read more
image
Strings
Morgan Stanley
Paytm
FactSet
palindrome
C Language
TCS
C-String
C Programs
C Basic Programs
DSA
Basic Coding Problems
Longest Palindromic Substring
Last Updated: 10 March 2025
Given a string s, the task is to find the longest substring which is a palindrome. If there are multiple answers, then return the first appe ...read more
Strings
Microsoft
Amazon
Groupon
Qualcomm
Samsung
Accolite
Zoho
MakeMyTrip
Visa
Dynamic Programming
strings
DSA
Check if two Strings are Anagrams of each other
Last Updated: 24 October 2024
Given two stringss1ands2consisting of lowercase characters, the task is to check whether the two given strings are anagrams of each other or...read more
image
Strings
Amazon
Goldman Sachs
Nagarro
anagram
DSA
Longest Substring Without Repeating Characters
Last Updated: 20 March 2025
Given a string s having lowercase characters, find the length of the longest substring without repeating characters.Examples:Input: s = "gee...read more
image
Strings
Microsoft
Amazon
Morgan Stanley
Housing.com
DSA
Longest Common Subsequence (LCS)
Last Updated: 04 March 2025
Given two strings, s1 and s2, the task is to find the length of the Longest Common Subsequence. If there is nocommon subsequence, return0. A...read more
image
Strings
Amazon
Hike
FactSet
Dynamic Programming
subsequence
LCS
strings
DSA
KMP Algorithm for Pattern Searching
Last Updated: 25 February 2025
Given two strings txt and pat, the task is to return all indices ofoccurrencesof pat within txt. Examples:Input: txt = "abcab", pat = "ab"O...read more
image
Strings
Amazon
Oracle
Accolite
Payu
MAQ Software
MakeMyTrip
Pattern Searching
DSA
Reverse words in a string
Last Updated: 18 March 2025
Given a string str, your task is to reverse the order of the words in the given string. Notethatstrmay contain leading or trailing dots(.) o...read more
image
Strings
Microsoft
Amazon
Adobe
Morgan Stanley
Goldman Sachs
Cisco
Paytm
Accolite
Payu
Zoho
MAQ Software
SAP Labs
MakeMyTrip
Reverse
Wipro
school-programming
CBSE - Class 11
DSA
Valid Parentheses in an Expression
Last Updated: 13 January 2025
Given a stringsrepresenting an expression containing various types of brackets: {}, (), and [], the task is to determine whether the bracket...read more
image
Strings
Amazon
Oracle
Walmart
Yatra.com
Snapdeal
Zoho
Hike
Stack
Wipro
Parentheses-Problems
DSA
Array Reverse - Complete Tutorial
Last Updated: 25 September 2024
Given an array arr[], the task is to reverse the array. Reversing an array means rearranging the elements such that the first element become...read more
image
Arrays
Strings
Amazon
VMWare
MAQ Software
Moonfrog Labs
Infosys
Reverse
school-programming
CBSE - Class 11
DSA
Permutations of given String
Last Updated: 10 April 2025
Given a string s, the task is to return all permutations of a given string in lexicographically sorted order.Note: A permutation is the rear...read more
image
Strings
Amazon
Samsung
Walmart
Cisco
Citrix
Snapdeal
Accolite
MAQ Software
Greedy
Backtracking
Mathematical
Combinatorial
OYO
permutation
Recursion
Apple
strings
DSA
1 2 3 4 5 6 7 8 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox