Coding interview preparation
5.76K subscribers
339 photos
47 files
163 links
Download Telegram
What will be the output of the C++ program?
Anonymous Quiz
18%
Segmentation fault
36%
Value of a: 5
33%
Value of a: 10
13%
Error
Comment your Answer👇
2
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?
Anonymous Quiz
23%
O(1)
59%
O(n)
13%
θ(n)
5%
θ(1)
👍1👏1😁1
👍2🥰1😁1
Can we create an instance of Enum outside of Enum itself?
Anonymous Quiz
64%
True
36%
False
😱3
What is the value returned by strcmp() function when two strings are the equal in C language?
Anonymous Quiz
9%
2
44%
1
41%
0
6%
Error
What will be the output of the C++ code?
Anonymous Quiz
28%
30
25%
Error
24%
Segmentation fault
24%
870
😁2👍1
What would be the asymptotic time complexity to insert an element at the front of the linked list (head is known)?
Anonymous Quiz
53%
O(1)
36%
O(n)
9%
O(n2)
2%
O(n3)
2👍1
What will be the output of the Java code?
Anonymous Quiz
55%
0
27%
1
6%
2
11%
3
👍2😁1