Coding interview preparation
5.75K subscribers
330 photos
47 files
163 links
Download Telegram
Network Protocols
Data Structure Cheat Sheet
12 Highest Paying Programming Jobs
How Linux Works
SQL VS NO SQL Database
Networking Cheat Sheet
IMAP and POP3
3 Types of Artificial Intelligence
Microservices Roadmap
Internet of Things
The 9 Types of Intelligence
IOT 7 characteristics
Which Part of the Coding Interview Process is the most stressful?
Explanation:
A doubly linked list has two pointers ‘left’ and ‘right’ which enable it to traverse in either direction. Compared to singly liked list which has only a ‘next’ pointer, doubly linked list requires extra space to store this extra pointer. Every insertion and deletion requires manipulation of two pointers, hence it takes a bit longer time. Implementing doubly linked list involves setting both left and right pointers to correct nodes and takes more time than singly linked list.
Which one of the following can be considered as the opposite approach of the Lexical Scoping?
Anonymous Quiz
50%
Dynamic scoping
20%
Literal scoping
15%
Static scoping
16%
Generic scoping
Explanation:
The dynamic scoping can be considered as the opposite approach to the lexical scoping. In the dynamic scoping, it does not matter that how the code is written but what matters is how's the code executes. At the time of execution of every new function, a new scope associated with it gets pushed onto the stack and this scope normally stored along with the function call stack.At that point, when a variable is referenced in a function's definition, the scope is immediately checked in every call stack to know if it returns a value.
In a structure, if a variable works as a pointer then from the given below operators which operator is used for accessing data of the structure using the variable pointer in C language?
Anonymous Quiz
21%
%
55%
->
16%
.
9%
#