Microsoft Interview Question Software Engineer / Developers

  • microsoft-interview-questions
    0
    of 0 votes
    3
    Answers

    Imagine a bit map representation of a television screen.write code to Go to a position (x,y) on the screen and flip the bit i.e. 0 to 1 or 1 to 0? He told me that I should ask a question as to what is the length of the screen or height of the screen to implement it which i didn't.

    - ajay.skootergofast on October 29, 2011 in United States Report Duplicate | Flag
    Microsoft Software Engineer / Developer Algorithm

Country: United States
Interview Type: In-Person


Comment hidden because of low score. Click to expand.
0
of 0 vote

That is because i guess :
length could be greater than INTEGER_MAXSIZE or something like that

- Anonymous on November 08, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

... or the position is just invalid.

- Anonymous on December 20, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

int *tmp = start
tmp+= (X*SCREEN_WIDTH)+Y
*tmp=!*tmp;

- Aditya on June 18, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book walking you through every aspect of getting a job at a top tech company, while focuses on software engineering interviews.

Learn More

Videos

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.

Learn More

Resume Review

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.

Learn More

Mock Interviews

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.

Learn More