C program
0 Answers
C program
| Flag | PURGE
Write a complete C program that will allow you to enter and maintain a computerized version of your
family tree. Begin by specifying the number of generations (i.e. the number of lever within the tree.)
Then enter the names and nationalities in a hierarchical fashion, beginning with our own name and
nationality. Include capabilities for modifying the tree and for adding new names (new nodes) to the
tree. Also, include a provision for displaying the entire tree automatically after each update.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
You have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one call to isSubstring (i.e., “waterbottle” is a rotation of “erbottlewat”)..
- Anonymous October 19, 2016Input and Output Format:
Input consists of 2 strings. Assume that the maximum length of the string is 100.
Refer sample input and output for formatting specifications.