Data structure 👨💻
前往频道在 Telegram
قناة غنية بروابط الشروحات والشيتات واسئلة سابقة لاساتذة الكلية وملخصات وفقكم الله جميعا. أتركو لنا دعوة بقدر استفادتكم ولكم خير الجزاء شوفو التثبيتات 🧷
显示更多641
订阅者
无数据24 小时
+67 天
+330 天
帖子存档
Repost from Medical students
اتعب في ابتدائي واعدادي وثانوي وجامعة وماجستير ودكتوراه والشغل عشان تتريح في التراب
Repost from Medical students
نصيحة حاول تنظم قرايتك بدون توتر، اقرا الشيت بفهم ، دير خط تحت المهم ، وصل الافكار ببعضهن ، مش لازم تحفظ والله، الفكره توا انك تجهز شيتاتك لقراية الجزئي فقط، عشان لما يبدا الجزئي وتفتح الشيت تلقى كل شي منظم وكل شي مهم واضح وواتي تقراه ،
اوائل كل دفعة يعرفو يقرو بذكاء، وعارفين ان جودة القراية اهم من كميتها …
1. In addition to the info and link components, the linked list must also contain what
other components?
A. Sorting info about the list.
B. Head and tail pointers to the first and last nodes. ✅
C. The current node that was last accessed.
2. What kind of linked list is best to answer questions like “What is the item at position n?”
a. Singly linked list
b. Doubly linked list
c. Circular linked list
d. Array✅
Question 4 (10 Marks): Given a singly sorted linked list consisting of N nodes. The task is to
remove duplicates (nodes with duplicate values) from the given list (if exists).
Example 1
Input
LinkedList: 2→2→4→5
output: 2 4 5
