Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures Difficulty: Medium

In which data structure is the concept of a "skip list" commonly used?

Select the correct option to test your answer:

More Computer Questions

Consider the following naive method to find the maximum sub-array sum: #include<stdio.h> int main() { int arr[1000]={2, -1, 3, -4, 1, -2, -1, 5, -4}, len=9; int cur_max, tmp_max, strt_idx, sub_arr_idx; cur_max = arr[0]; for(strt_idx = 0; strt_idx < len; strt_idx++) { tmp_max=0; for(sub_arr_idx = strt_idx; sub_arr_idx < len; sub_arr_idx++) { tmp_max +=arr[sub_arr_idx]; if(tmp_max > cur_max) _____________; } } printf("%d",cur_max); return 0; } Which line should be inserted to complete the above code? Which of the following are true regarding OSPF areas? 1. You must have separate loopback interfaces configured in each area. 2. The numbers you can assign an area go up to 65,535. 3. The backbone area is also called area 0. 4. If your design is hierarchical, then you don't need multiple areas. 5. All areas must connect to area 0. Which among the following belongs to an "aggregate function"? Why references are different from pointers? Cross product is a mathematical operation performed between . . . . . . . .