File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,14 @@ meeting point.
15
15
4.How do you convert a decimal number to its hexa-decimal equivalent.Give a C
16
16
code to do the same.
17
17
18
- 4 . How do you convert a decimal number to its hexa-decimal equivalent.Give a C
19
- code to do the same.
20
-
21
- 5 . Given an array all of whose elements are positive numbers, find the maximum
18
+ 5.Given an array all of whose elements are positive numbers, find the maximum
22
19
sum of a subsequence with the constraint that no 2 numbers in the sequence
23
20
should be adjacent in the array.
24
21
Eg.
25
22
i) 3 2 7 10 should return 13 (sum of 3 and 10)
26
23
ii) 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)
27
24
28
- 6 . Given a Binary Search Tree, write a program to print the kth smallest element
25
+ 6.Given a Binary Search Tree, write a program to print the kth smallest element
29
26
without using any static/global variable. You can pass the value k to any function
30
27
also.
31
28
You can’t perform that action at this time.
0 commit comments