WePay

  www.wepay.com
  www.wepay.com

Interview Question

Engineering Interview Palo Alto, CA

Using PHP, how would you take a string containing the

  letters "GOOGLE" and remove the duplicate letters to output "GOGLE" (without using array_unique)?
Tags:
php, big o notation
Answer

Interview Answer

1 Answer

0

Note: Be able to write the Big O notation for your solution, and ensure that your code is as efficient as possible.

Interview Candidate on Oct 8, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.