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.
static void Main()
- istiyaQ.Mi9 July 22, 2019{
int[] r1 = { 2, 4, 5, 6, 7, 8 };
int[] r2 = { 1, 3, 9, 12 };
int[] r3 = { 10, 11, 13, 14 };
int l1 = r1.Length;
int l2 = r2.Length;
int l3 = r3.Length;
int[] newstream = new int[l1 + l2 + l3];
int cells = l2 + l1 + l3;
int c1 = 0;
int c2 = 0;
int c3 = 0;
int index = 0;
int smaller = 0;
while (index < cells)
{
smaller = -1;
if (c1 < l1)
smaller = 1;
if (c2 < l2)
if (smaller != -1)
{
if (r2[c2] < r1[c1])
smaller = 2;
}
else smaller = 2;
if (c3 < l3)
if (smaller != -1)
{
if (r3[c3] < r2[c2])
smaller = 3;
}
else smaller = 3;
if (smaller == 1)
{
smaller = r1[c1];
c1++;
}
else if (smaller == 2)
{
smaller = r2[c2];
c2++;
}
else if (smaller == 3)
{
smaller = r3[c3];
c3++;
}
newstream[index] = smaller;
index++;
}
foreach (var item in newstream)
{
Console.WriteLine(item + "\t");
}
}