Samsung Interview Question for Software Engineer / Developers
- 0of 0 votes
AnswersGiven a Big XML File. You have to design and implement the Data Structure which stored their keys and its value accordingly in C/C++ language.
- hprem991 November 10, 2011 in India for Protocol Devlopment
Write a Program to Store all the given XML content to your designed Data Structure and Retrive it . Basically SAX/DOM parser :)
Contraints :-
1> Data Structure should not be a flat file type.
2> Every Program code must be modular and each module should not exceed 15 lines of code.
3> No Usage of STL library functions.
4> Each Module should not have return type other than success and failure of operation.
5> Use Memory management at the most.
6> Design and problem approach crutial.
7> Minimal Space and Time Complexity for each code.
8> No Static variable usage and all memory allocation should be dynamic.
9> There are occasion like a parent has more than one child you have to take care of such cases.
10> Handle all possible error condition.| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design
Country: India
Interview Type: In-Person