Coding interview preparation
5.76K subscribers
339 photos
47 files
163 links
Download Telegram
What will be the output of the Java code?
Anonymous Quiz
55%
0
27%
1
6%
2
11%
3
👍2😁1
Which function disconnects the stream from a file pointer in C language?
Anonymous Quiz
55%
fclose()
15%
fremove()
11%
remove()
19%
file pointer set to NULL
👍2
How does HTTP works
👍3
What would be the asymptotic time complexity to find an element in the linked list?
Anonymous Quiz
18%
O(1)
62%
O(n)
15%
O(n2)
4%
O(n4)
👍2
Search Engines for Penstester and Security Professionals
👍1
In JavaScript, If a function which does not return a value is known as _____
Anonymous Quiz
50%
Static function
25%
Procedures
14%
Method
12%
Dynamic Function
👍3😁1
IPv6 Address Types
👍1
Practical threat intelligence
👍3
Nmap scan types and flag
Ethical hacking tools for recon
👍3
What would be the asymptotic time complexity to insert an element at the second position in the linked list?
Anonymous Quiz
36%
O(1)
49%
O(n)
15%
O(n2)
1%
O(n3)
Explanation: A new node is created with the required element. The pointer of the new node points the node to which the head node of the linked list is also pointing. The head node pointer is changed and it points to the new node which we created earlier. The entire process completes in O (1) time. Thus the asymptotic time complexity to insert an element in the second position of the linked list is O (1).