Rakesh
BAN USER
Questions (2)
Comments (2)
Reputation 20
- 0of 0 votes
AnswersGiven two arrays char *pa, *pb. Write a function to return true/false. True if all occurrences of all chars in pb exist in pa. False if not.
- Rakesh
Eg. if pa = czcz ; pb = czzz ; return false coz pb has one z extra
if pa = abaa; pb = ab ; return true
if pa = ab ; pb = ab ; return true| Report Duplicate | Flag | PURGE
Microsoft Data Structures Coding Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
We are expected to parse it as a char array with ptrs.
- Rakesh January 28, 2008