👨‍💻
Cracking-Interview
Ctrlk
  • Data Structures and Algorithms
  • Arrays
  • Linked List
  • Strings
    • 1.Reverse Words in a String
    • 2. Is Subsequence
    • 3.Valid Anagram
    • 4.Add Binary
    • 5.Longest Common Prefix
    • 7.Valid Palindrome
    • 8.Implement strStr()
    • 9.String to Integer (atoi)
    • 10.Count and Say
    • 11.Longest Substring Without Repeating Characters
    • 12. Longest Substring with At Most K Distinct Characters
    • 13. Longest Substring with At Least K Repeating Characters
    • 14. Find All Anagrams in a String
    • 15. Permutation in String
    • 16. Maximum Number of Vowels in a Substring of Given Length
    • 17. Partition Labels
    • 18. Minimum Window Substring
    • 19. Compare Version Numbers
    • 20. Shortest Distance to a Character
    • 21. Count Number of Homogenous Substrings
    • 22. Remove Duplicate Letters
    • 23. Count Sorted Vowel Strings
    • 24. Get Equal Substrings Within Budget
    • 25. Sentence Similarity III
    • 26. Shifting Letters
    • 27. Longest Happy Prefix (imp)
    • 28. Sort Characters By Frequency
    • 29. String Compression
    • 30. Palindrome Pairs
    • 31. Shortest Palindrome(Imp)
    • 32. One Edit Distance
    • 33. Can Make Palindrome from Substring
    • 34. Greatest Common Divisor of Strings
    • KMP Algorithm for Pattern Searching
    • Rabin-Karp Algorithm for Pattern Searching
  • Binary Tree
  • Stack and Queue
  • Hash Table
  • Binary Search
  • Binary Search Tree
  • Bit manipulation
  • Graph
  • Disjoint Sets(Union-Find)
  • Heap and Priority Queue
  • Trie
  • Dynamic Programming
  • Greedy Algorithms
  • Backtracking
  • Sub Array and Sliding Window Problems
  • Design
  • Maths
  • Sorting-Algorithms
    • Merge Sort
    • Quick Sort
    • Heap Sort
    • Selection Sort
    • Bubble Sort
    • Insertion Sort
  • Expected Interview MCQ and Questions c++
  • Concepts in C++
  • System Design Questions
  • 💾DBMS
    • Introduction
    • RBMS
    • JOINS
    • SQL
  • 🖥️OS
    • OS and Its Types
    • Process Concept and Threads
    • Process Synchronization
    • Deadlock in Operating System
    • Memory Management
    • Imp Questions of OS for Interviews
  • 🚙OOPS
    • Introduction and Definitions
  • 📨COMPUTER-NETWORKS
    • OSI | TCP IP Model
    • Topology
    • Network Devices
    • IP Address
Powered by GitBook
On this page

Was this helpful?

Strings

Various problems related to Strings

1.Reverse Words in a String2. Is Subsequence3.Valid Anagram4.Add Binary5.Longest Common Prefix7.Valid Palindrome8.Implement strStr()9.String to Integer (atoi)10.Count and Say11.Longest Substring Without Repeating Characters12. Longest Substring with At Most K Distinct Characters13. Longest Substring with At Least K Repeating Characters14. Find All Anagrams in a String15. Permutation in String16. Maximum Number of Vowels in a Substring of Given Length17. Partition Labels52. Palindromic Substrings18. Minimum Window Substring19. Compare Version Numbers20. Shortest Distance to a Character21. Count Number of Homogenous Substrings22. Remove Duplicate Letters23. Count Sorted Vowel Strings24. Get Equal Substrings Within Budget25. Sentence Similarity III26. Shifting Letters27. Longest Happy Prefix (imp)28. Sort Characters By Frequency29. String Compression30. Palindrome Pairs31. Shortest Palindrome(Imp)32. One Edit Distance33. Can Make Palindrome from Substring34. Greatest Common Divisor of Strings

Algorithms

KMP Algorithm for Pattern SearchingRabin-Karp Algorithm for Pattern Searching

PreviousBasic Implementation of Doubly Linked ListNext1.Reverse Words in a String

Last updated 3 years ago

Was this helpful?