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.
//usiing a vector to enable easy expansion of the result matrix
- volvoman60-shopping@yahoo.co.uk July 31, 2012int digit,carryover=1, ct=0;
vector<int> arr;
while (true)
{
cout<<"enter each single digit (0-9), enter a -negative number to end"<<endl;
cin>>digit;
if (digit>=0)
{
arr.push_back(digit);
ct++;
}
else
break;
}
int temp;
for (int i=(ct-1); i>=0; i--)
{
temp = arr[i];
temp = temp+carryover;
if (temp >9)
{
arr[i]=0;
carryover=1;
}
else
{
arr[i] = arr[i]+1;
break;
carryover=0;
}
if ((i==0) && carryover != 0)
{//array needs to be expanded 9999
arr.insert(arr.begin(),1);
ct++;
}
}
cout<<"new digit after doing a ++"<<endl;
for (int g=0;g<ct;g++)
{
cout<<arr[g];
}