Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged data-structures
0
votes
1
answer
361
A frame buffer array is addressed in row major order for a monitor with pixel locations starting from (0,0) and ending with (100,100). What is address of the pixel(6,10)? Assume one bit storage per pixel and starting pixel location is at 0. 1) 1016 2)1006 3) 610 4)616
A frame buffer array is addressed in row major order for a monitor with pixel locations starting from (0,0) and ending with (100,100). What is address of the pixel(6,10)?...
viral8702
492
views
viral8702
asked
Apr 29, 2022
Programming in C
data-structures
array
+
–
0
votes
0
answers
362
NPTEL Assignment of Hashing Techniques
Canadian postal codes have the format LDL DLD, where L is always a letter (between A-Z), D is always a digit (0-9), and is always a single space. For example, the postal code for the University of Waterloo is N2L 3G1. Devise a suitable hash function for this system.
Canadian postal codes have the format LDL DLD, where L is always a letter (between A-Z), D is always a digit (0-9), and is always a single space. For example, the postal ...
rsansiya111
378
views
rsansiya111
asked
Mar 12, 2022
DS
data-structures
hashing
+
–
0
votes
1
answer
363
CRT-2022
Kindly Help
Kindly Help
rsansiya111
348
views
rsansiya111
asked
Feb 25, 2022
DS
data-structures
+
–
19
votes
4
answers
364
GATE CSE 2022 | Question: 5
Consider the problem of reversing a singly linked list. To take an example, given the linked list below, the reversed linked list should look like Which one of the following statements is $\text{TRUE}$ about the time complexity of algorithms that solve the above problem ... $O(1)$ space.
Consider the problem of reversing a singly linked list. To take an example, given the linked list below,the reversed linked list should look likeWhich one of the followin...
Arjun
9.3k
views
Arjun
asked
Feb 15, 2022
DS
gatecse-2022
data-structures
linked-list
1-mark
+
–
41
votes
3
answers
365
GATE CSE 2022 | Question: 18
Suppose a binary search tree with $1000$ distinct elements is also a complete binary tree. The tree is stored using the array representation of binary heap trees. Assuming that the array indices start with $0,$ the $3^{\text{rd}}$ largest element of the tree is stored at index ______________ .
Suppose a binary search tree with $1000$ distinct elements is also a complete binary tree. The tree is stored using the array representation of binary heap trees. Assumin...
Arjun
15.3k
views
Arjun
asked
Feb 15, 2022
DS
gatecse-2022
numerical-answers
data-structures
binary-search-tree
1-mark
+
–
34
votes
6
answers
366
GATE CSE 2022 | Question: 52
Consider the queues $Q_{1}$ containing four elements and $Q_{2}$ containing none (shown as the $\textsf{Initial State}$ in the figure). The only operations allowed on these two queues are $\textsf{Enqueue (Q, element)}$ ... $\textsf{Final State}$ in the figure) without using any additional storage is________________.
Consider the queues $Q_{1}$ containing four elements and $Q_{2}$ containing none (shown as the $\textsf{Initial State}$ in the figure). The only operations allowed on the...
Arjun
18.6k
views
Arjun
asked
Feb 15, 2022
DS
gatecse-2022
numerical-answers
data-structures
queue
2-marks
+
–
0
votes
2
answers
367
ACE Test Series
A ) B ) C ) D )
A ) B ) C ) D )
ramakrushna
828
views
ramakrushna
asked
Jan 27, 2022
DS
data-structures
binary-heap
ace-test-series
+
–
Page:
« prev
1
...
8
9
10
11
12
13
14
15
16
17
18
...
60
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register