Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

COMMON CODING

QUESTION

Common coding questions


1) ASCII Value of a character
2) Remove vowels from a String Remove spaces from a given string
3) Remove all characters other than alphabets
4) Reverse a string 5) Sum of numbers in string
6) Capitalize first and last character of each word Frequency of characters
in a string
7) Non Repeating Character Smallest and Largest Word in a String
8) Strings are anagram of each other
9) Sort string of characters
10) Convert characters of a string to opposite case Count words in a given
string
11) Encrypt the string Remove duplicates from a given string
12) Duplicates in the input string Lexicographically next string
13) Remove brackets from an algebraic expression
14) Check if a string is substring of another
15) Reverse words in a given string also,
EXTRA
1. Non-Repeating Element
2. Program for Array Rotation
3. Equilibrium Index of an Array
4. Print Array After It Is Right Rotated K Times
5. Array is a Subset of Another Array
6. Find All Symmetric Pairs from a Pairs of Array
7. Counting Rock Samples
8. Reverse an Array or String
9. Mean and Median of an Unsorted Array
10. Smallest and Second Smallest Elements in an Array
11. Largest Element in an Array
12. Second Largest Element in an Array
13. Counting Frequencies of Array Elements
14. Program for Addition of Two Matrices
15. Sort a K-lncreasing-Decreasing Array
16. Sum of Elements in a Given Array
17. Remove Duplicates from the Sorted Array
18. Program to Check if an Array is Sorted or Not
19. Remove Duplicates from an Unsorted Array Using Map Data Structure
20. Block Swap Algorithm for Array Rotation
21. Average of an Array (Iterative and Recursive)
22. Add an Element to an Array
23. Find Duplicates in O(n) Time and 0(1) Extra Space
24. Find Maximum Possible Stolen Value from Houses
25. Replace Each Element of the Array with Its Corresponding Rank
26. Sort Elements by Frequency
27. Sort an Array According to the Order Defined by Another Array
28. Maximum Product Subarray

You might also like