ThinkinMonke
HomeBlogsAbout
HomeBlogAbout
    Blog
    DSA Concepts you need to remember

    Table of Contents

    DSA Concepts you need to remember

    Remember everything about Data Structures and Algorithms

    January 22, 2026
    1 min
    Article
    DSA Concepts you need to remember
    Algorithm

    Table of Contents

    Major concepts and common patterns

    Arrays

    • To find a palindrome: Compare the given string with length of the reversed string
    • To find duplicates: Put the given numbers in set, then check if the len of the set is equal to len of the given array. If not equal then there are duplicates.
      • The answer here is Boolean.
    • For Anagrams: Sort them both, check if they are equal, return bool

    Published on January 22, 2026

    Estimated reading time: 1 minutes

    Share this article:
    Back to all posts

    You Might Also Like

    DSA Walkthrough - 07
    Algorithm
    2 min

    DSA Walkthrough - 07

    Walkthrough of the problem "Valid Sudoku"

    Read more
    DSA Walkthrough - 06
    Algorithm
    1 min

    DSA Walkthrough - 06

    Walkthrough of the problem "Product of Array Except Self"

    Read more
    DSA Walkthrough - 05
    Algorithm
    2 min

    DSA Walkthrough - 05

    Walkthrough of the problem "Top K frequent Elements"

    Read more

    Table of Contents