Playlist
Homework
Service Based Cpmpany Roadmap
- Find the smallest/largest number in an array
- Second smallest and second largest element in an array
- Reverse a given array
- Count frequency of each element in an array
- Rearrange array in increasing-decreasing order
- Calculate sum of the elements of the array
- Rotate array by K elements
- Find the median of the given array
- Remove duplicates from a sorted/unsorted array
- Find all repeating/non-repeating elements in an array
- Maximum product subarray in an array
- Replace each element of the array by its rank
- Sorting elements of an array by frequency
- Finding equilibrium index of an array
- Check if an array is a subset of another array
- Element with left side smaller and right side greater
- Buildings receiving sunlight
- Swap Kth elements
- Sum of middle elements of two sorted arrays
- Check if a number is palindrome/prime/Armstrong/perfect
- Find all palindrome/prime numbers in a given range
- Even or odd
- Sum of first N natural numbers
- Find sum of AP/GP series
- Greatest of two/three numbers
- Leap year or not
- Reverse digits of a number
- Print Fibonacci up to Nth term
- Factorial of a number
- Power of a number
- Factors of a given number
- GCD and LCM of two numbers
- Check if a number is a Harshad/abundant number
- Permutations in which N people can occupy R seats
- Program to add two fractions
- Replace all 0s with 1s in a given integer
- Can a number be expressed as a sum of two prime numbers
- Calculate the area of a circle
- Program to find roots of a quadratic equation
- Automorphic number
- Compound interest
- 12-hour clock multiplication
- Count odd factors
- Perfect squares in a range
- Convert between binary, decimal, and octal
- Convert digits/numbers to words
- Bubble sort
- Selection sort
- Insertion sort
- Quick sort
- Merge sort
- Heap sort
- Check if a given string is palindrome
- Count vowels, consonants, spaces in a string
- Remove vowels/spaces/brackets from a string
- Reverse a string
- Capitalize first and last character of each word
- Calculate frequency of characters in a string
- Check if two strings are anagrams
- Find the largest word in a string
- Count number of words in a string
- Concatenate strings
- Find a substring and its position
- Reverse words in a string
- Convert Roman numerals to decimal
- Most frequent word in an array of strings
- Sentence palindrome
- Remove common characters and concatenate
- Binary search
- Linear search
- Program for addition of two matrices
- Check if two given matrices are identical
- Rotate image/matrix
- 0-1 Knapsack problem
- Longest increasing subsequence
- Longest common substring/subsequence
- Matrix chain multiplication
- Tree traversals (Inorder, Preorder, Postorder)
- Binary tree to DLL
- Largest BST in a binary tree
- AVL tree deletion
- N-Queen problem
- Longest palindromic substring
- Next permutation
- Minimum platforms problem
- Job sequencing problem
- Wildcard pattern matching
- The celebrity problem
- Travelling salesman problem