Hot questions in Programming and DS

1 votes
0 answers
4461
0 votes
1 answer
4462
1 votes
1 answer
4465
I am not getting how statement 3 is false and statement 4 is true.Statement 3: If the weights are unique, ho can there be multiple second best spanning trees?Statement 4:...
4 votes
1 answer
4466
1 votes
1 answer
4469
int main() { int a, b; /* Some code which initializes "a" here ... */ if (a < 0) { a = -a; } b = sqrt (a); }Above code will always work for calculating the square root of...
0 votes
1 answer
4471
0 votes
2 answers
4473
0 votes
2 answers
4474
1 votes
1 answer
4475
2 votes
2 answers
4476
0 votes
0 answers
4478
WHY CROSS EDGES TURN TO BE BACK EDGES IN UNDIRECTED GRAPH IN DFS TRAVERSAL?? CAN ANYONE EXPLAIN THIS. WHY ARE THERE NO CROSS EDGES IN DFS OF UNDIRECTED GRAPH??
2 votes
1 answer
4480