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.
No need to sort ..
- krbchd_02 November 22, 2015Create count map for both the parties.
# Check key size for count map is same
# Then for each key check the count value is same
Space O(n)
Time O(n)
validity can be check while building count map
so for example
{12,11,5,2,7,5,11}
{5,0,5,7,11,2,11}
Count map 1
12 -1
11 - 2
5 - 2
2 -1
7 -1
Count map 2
0 -1
5 -2
7 -1
11 -2
2 -1
This will fail, since key "12" is not in map 2.