C-Strings2
Each Project will have Reference Links which you can read to get a quick grasp on the topic and some Practice Questions,If you want more practice for each Topic .
Each Practice Question is slightly abstracted ,You need to make certain assumptions and write the best solution .Think for the best complexity algorithms .Remember also Space vs Time Tradeoff
Reference Links : (Right Click is disabled ,So Ctrl+C and Ctrl+V the links
- https://www.eskimo.com/~scs/cclass/notes/sx8.html
- https://www.quora.com/What-are-the-some-tricky-c-programs
- https://www.udacity.com/course/viewer#!/c-ud923/l-3398018620/m-3417038572
Practice Questions :
- Print all duplicate characters from a string.
- Replace space with %20 and dot (.) with %21 for a given string.
- Input: my name is khan.
- Output: my%20name%20is%20khan%21
-
Anagram Sorting: Given a sentence, print all anagrams together.
- Input: cat is a dog with tac which act like god
- Output: cat tac act dog god which with like is a
- Replace %20 with space and %21 with dot (.) for a given string.
- Input: my%20name%20is%20khan%21
- Output: my name is khan.
- Find all permutation of a string.
- Input: abc
- Output: all possible permutations.
- Remove duplicate characters from a string.Don't use an extra array.Modify the given string in place.
- Longest palindrome in a given string.
- Decrypt the given string.
- Input: a2b3cb2
- Output: aabbbcbb
- Given a sorted dictionary of an ‘kalki’ (unknown) language.find the order of characters.
- Input: {"baa", "abcd", "abca", "cab", "cad"}
- Output: bdac
-
Print all possible word from phone digits.
- Input: 234
- Output: adg adh adi aeg aeh aei afg afh afi bdg bdh bdi beg beh bei bfg bfh bfi cdg cdh cdi ceg ceh cei cfg cfh cfi
-
Hard Question : Evaluate given expression which is given as a string. Only + , - , * , / ,( , ) operators are allowed .