Coding interview preparation
5.75K subscribers
330 photos
47 files
163 links
Download Telegram
Explanation: Memory efficient doubly linked list has only one pointer to traverse the list back and forth. The implementation is based on pointer difference. It uses bitwise XOR operator to store the front and rear pointer addresses. Instead of storing actual memory address, every node store the XOR address of previous and next nodes.
Which HTML element is used to put the JavaScript code?
Anonymous Quiz
14%
<javascript>
12%
<js>
1%
<scripting>
73%
<script>
Are the expression ++*ptr and *ptr++ are same?
Anonymous Quiz
26%
True
74%
False
Enjoy our content? Advertise on this channel and reach a highly engaged audience! 👉🏻

It's easy with Telega.io. As the leading platform for native ads and integrations on Telegram, it provides user-friendly and efficient tools for quick and automated ad launches.

⚡️ Place your ad here in three simple steps:

1 Sign up

2 Top up the balance in a convenient way

3 Create your advertising post

If your ad aligns with our content, we’ll gladly publish it.

Start your promotion journey now!
Select the correct statement which is a combination of these two statements.
Statement 1: p= (char*) malloc(100);
Statement 2: char *p;
Anonymous Quiz
56%
char *p = (char*)malloc(100);
31%
char *p = (char) malloc(100);
9%
char p = *malloc(100);
4%
None
Which of the following escape sequence represents carriage return?
Anonymous Quiz
37%
\r
27%
\n
21%
\n\r
15%
\c
What is the worst case time complexity of inserting a node in a doubly linked list?
Anonymous Quiz
30%
O(nlogn)
18%
O(logn)
37%
O(n)
15%
O(1)
Which of these is long data type literal?
Anonymous Quiz
36%
0x99fffL
16%
ABCDEFG
26%
0x99fffa
23%
99671246
For the below mention C statement, what is your comment?
signed int *p=(int*)malloc(sizeof(unsigned int));
Anonymous Quiz
22%
Would throw Runtime error
32%
Improper typecasting
28%
int value in the memory
18%
No problem with the statement
Which of the following escape sequence represents tab?
Anonymous Quiz
81%
\t
11%
\t\r
6%
\b
3%
\a
Explanation:
In a normal linked list, the ‘next’ pointer of the last node points to null. However, in a circular linked list, the ‘next’ pointer of the last node points to the head (first element) of the list. Every node in a circular linked list can be a starting point(head).
How does Docker Work?
End to End ML Project