Write a function expand(s1,s2) that expands shorthand
notations like a-z in the string s1 into the equivalent
complete list abc...xyz in s2 . Allow for letters of either
case and digits, and be prepared to handle cases like a-b-c
and a-z0-9 and -a-z.
z-a:zyx......ba
-1-6-:-123456-
1-9-1:123456789987654321
a-R-L:a-R...L
a-b-c:abbc
No Answer is Posted For this Question
Be the First to Post Answer
Which weighs more, a gram of feathers or a gram of gold?
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
write a program for odd numbers?
How do you determine a file’s attributes?
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration
12 Answers HCL, Infosys, Microsoft,
what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???
How can I remove the trailing spaces from a string?
What is the use of ?: Operator?
What is the purpose of main( ) in c language?
What is the difference b/w Structure & Array?
How can you increase the size of a dynamically allocated array?
Write a program to generate the Fibinocci Series