Site contains data structures interview questions and answers asked in interviews and these data structure interview questions will be the most important tips before attending interviews

Sunday, September 13, 2009

Data structure interview questions Part 8

Data structure interview question:Convert the given graph with weighted edges to minimal spanning tree

Answer:The equivalent minimal spanning tree is:

Data structure interview question: Draw a binary Tree for the expression :
A * B - (C + D) * (P /Q)

Answer: Data structure interview question: For the following COBOL code, draw the Binary tree?
01 STUDENT_REC.
02 NAME.
03 FIRST_NAME PIC X(10).
03 LAST_NAME PIC X(10).
02 YEAR_OF_STUDY.
03 FIRST_SEM PIC XX. 03 SECOND_SEM PIC XX Answer:

## No comments:

## Post a Comment