Adobe Interview Question for Member Technical Staffs


Country: India
Interview Type: In-Person




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

first thing, why do we need to convert it at all..does it interact to other machines/shared storage ..if that is the case then we can use simple network apis to convert local machine format to big endian format(htonl) and vice-versa..

- amit February 18, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The big endian and small endian issues come when there is type casting between pointers. At those points the corresponding changes can be done while initialising the pointers.

- Satish Kumar March 02, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The program should work regardless(as all the read/write will be in big endian on the same machine), the only difference is that if it is accessing some shared memory or more likely dependent on data from external source which is packing bytes in the little endian. It shouldnt be an issue as far as the network headers are concerned as these are in big endian anyways, for packed application data unless the endianess information is either encoded in the serialized data (or agreed as part of the protocol), you are out of luck.

- ali.kheam May 19, 2017 | Flag Reply


Add a Comment
Name:

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

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

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