Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Using python list , Queue ADT "enqueue()" is implemented using pop (0 , item)
Anonymous Quiz
20%
T
80%
F
the string "bla bla bla" is a palindrome word.
Anonymous Quiz
44%
T
56%
F
Using python list , Queue ADT "size()" is implemented using len (self.item - 1 )
Anonymous Quiz
32%
T
68%
F
Deque
Deque : New items can be added at either the front or the rear.Likewise, existing items can't be removed from either end
Anonymous Quiz
28%
T
72%
F
add_front(item) adds a new item to the front of the deque. It needs the item and returns item.
Anonymous Quiz
34%
T
66%
F
size() returns the number of items in the deque. It needs no parameters and returns an integer
Anonymous Quiz
92%
T
8%
F
add_rear(item) adds a new item to the front of the deque. It needs the item and returns nothing.
Anonymous Quiz
21%
T
79%
F
remove_front() removes the front item from the deque. It needs parameters and returns the item
Anonymous Quiz
39%
T
61%
F
remove_rear() removes the rear item from the deque. It needs no parameters and returns the item
Anonymous Quiz
71%
T
29%
F
Using python list , Deque ADT "add_front()" is implemented using append (item)
Anonymous Quiz
82%
T
18%
F
Using python list , Deque ADT "add_rear()" is implemented using insert (1,item)
Anonymous Quiz
34%
T
66%
F
Using python list , Deque ADT "remove_rear()" is implemented using pop ()
Anonymous Quiz
36%
T
64%
F
Using python list , Deque ADT "remove_front()" is implemented using pop ()
Anonymous Quiz
86%
T
14%
F
A ........is a string that reads the same forward and backward, for example, radar, toot, and madam
Anonymous Quiz
4%
Postponed
1%
Panadol
90%
palindrome
5%
pipeline
Linked list
Both array-based sequences and linked lists keep elements in a certain order, but using a very different style.
Anonymous Quiz
85%
T
15%
F
Each node has at least a single pointer to the next node
Anonymous Quiz
6%
Array
94%
Linked list
The last element points to NULL
Anonymous Quiz
96%
T
4%
F
connected by pointers and can grow or shrink
Anonymous Quiz
98%
Linked list
2%
Array