is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
<pre lang="" line="1" title="CodeMonkey74814" class="run-this">import java.util.*;
- ozhang@usc.edu December 21, 2011import java.util.HashSet;
import java.io.*;
import java.lang.*;
class RemoveDuplicated {
public static void main(String[] args){
RemoveDuplicated RD = new RemoveDuplicated();
String input = "thestringisduplicatedqwertyuio";
String output = RD.InsertToHashSet(input);
System.out.println(output);
}
public String InsertToHashSet(String input){
HashSet<String> CheckDuplicate = new HashSet<String>();
String output="";
int i,j;
j = 0;
for(i=0;i<input.length();i++)
{
String current = "";
current += input.charAt(i);
if(CheckDuplicate.contains(current)) //check if the char is already in the HashSet,if yes,do nothing
continue;
else { //if not,add current char to HashSet and put it in the output
CheckDuplicate.add(current);
output = output + current;
j++;
}
}
return output;
}
}
</pre><pre title="CodeMonkey74814" input="yes">
</pre>