you are given with a string s of length n. you have to sort the string s in such a way that when individual characters are converted to their ascii values, they should follow given rules : characters possessing prime ascii value should come before character possessing composite ascii value. if two characters are having prime ascii value, character having less ascii should come before other. if two characters are having composite ascii value, character having greater ascii value should come bef
ore other. input format the first line of input contains the length of string s. the second line of input contains string s. output format the single line of output should contain required modified string. constraints time limit: 1 memory limit: 256 source limit: explanation for primes : a < k for composite : k < h < i < j < n < o < r < u adding up logic , required answer is akkurthi
And
which i
sisland group of india lies to it's South - east?
Answers
Answered by
8
Andaman & nicobar islands group of india lies to its south-east.
Hope it helps.
Similar questions
Chemistry,
17 days ago
Physics,
17 days ago
Math,
17 days ago
Computer Science,
1 month ago
Hindi,
9 months ago