- Write a function to reverse a sentence's wording order (also in recursive form)
- Input: "I saw a dog"
- Output: "dog a saw I"
- Given APIs write following functions
- Given APIs:
- Color(String color) --changes pen color
- Rotate(angle) --rotate the pen angle
- Move(distance) --move while drawing
- Draw rectangle function
- Draw circle function
- Given API, write following function
- Airline.hasDirectFlight(source,destination) :: boolean
- Returns true if source and target has a direct flight
- Write boolean isReachable(source,destionation) function
11/04/2013
More Interview Programming Questions
Labels:
interview,
programming
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment