Giter VIP home page Giter VIP logo

dsa's Introduction

DSA

Playlist

Homework

Service Based Cpmpany Roadmap

Array Problems

  1. Find the smallest/largest number in an array
  2. Second smallest and second largest element in an array
  3. Reverse a given array
  4. Count frequency of each element in an array
  5. Rearrange array in increasing-decreasing order
  6. Calculate sum of the elements of the array
  7. Rotate array by K elements
  8. Find the median of the given array
  9. Remove duplicates from a sorted/unsorted array
  10. Find all repeating/non-repeating elements in an array
  11. Maximum product subarray in an array
  12. Replace each element of the array by its rank
  13. Sorting elements of an array by frequency
  14. Finding equilibrium index of an array
  15. Check if an array is a subset of another array
  16. Element with left side smaller and right side greater
  17. Buildings receiving sunlight
  18. Swap Kth elements
  19. Sum of middle elements of two sorted arrays

Number Problems

  1. Check if a number is palindrome/prime/Armstrong/perfect
  2. Find all palindrome/prime numbers in a given range
  3. Even or odd
  4. Sum of first N natural numbers
  5. Find sum of AP/GP series
  6. Greatest of two/three numbers
  7. Leap year or not
  8. Reverse digits of a number
  9. Print Fibonacci up to Nth term
  10. Factorial of a number
  11. Power of a number
  12. Factors of a given number
  13. GCD and LCM of two numbers
  14. Check if a number is a Harshad/abundant number
  15. Permutations in which N people can occupy R seats
  16. Program to add two fractions
  17. Replace all 0s with 1s in a given integer
  18. Can a number be expressed as a sum of two prime numbers
  19. Calculate the area of a circle
  20. Program to find roots of a quadratic equation
  21. Automorphic number
  22. Compound interest
  23. 12-hour clock multiplication
  24. Count odd factors
  25. Perfect squares in a range

Number System Problems

  1. Convert between binary, decimal, and octal
  2. Convert digits/numbers to words

Sorting Algorithms

  1. Bubble sort
  2. Selection sort
  3. Insertion sort
  4. Quick sort
  5. Merge sort
  6. Heap sort

String Problems

  1. Check if a given string is palindrome
  2. Count vowels, consonants, spaces in a string
  3. Remove vowels/spaces/brackets from a string
  4. Reverse a string
  5. Capitalize first and last character of each word
  6. Calculate frequency of characters in a string
  7. Check if two strings are anagrams
  8. Find the largest word in a string
  9. Count number of words in a string
  10. Concatenate strings
  11. Find a substring and its position
  12. Reverse words in a string
  13. Convert Roman numerals to decimal
  14. Most frequent word in an array of strings
  15. Sentence palindrome
  16. Remove common characters and concatenate

Searching Problems

  1. Binary search
  2. Linear search

Matrix Problems

  1. Program for addition of two matrices
  2. Check if two given matrices are identical
  3. Rotate image/matrix

Dynamic Programming

  1. 0-1 Knapsack problem
  2. Longest increasing subsequence
  3. Longest common substring/subsequence
  4. Matrix chain multiplication

Graph and Tree Problems

  1. Tree traversals (Inorder, Preorder, Postorder)
  2. Binary tree to DLL
  3. Largest BST in a binary tree
  4. AVL tree deletion
  5. N-Queen problem

Advanced Problems

  1. Longest palindromic substring
  2. Next permutation
  3. Minimum platforms problem
  4. Job sequencing problem
  5. Wildcard pattern matching
  6. The celebrity problem
  7. Travelling salesman problem

dsa's People

Contributors

ankitt20 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.