Linked list adalah struktur data yang menyimpan elemen-elemennya secara terpisah di memori dan saling terhubung melalui pointer. Setiap elemen terdiri dari nilai dan pointer ke elemen berikutnya. Linked list memungkinkan penambahan dan penghapusan elemen dengan mudah serta panjangnya dapat diubah secara dinamis.
Dokumen tersebut membahas tentang struktur data linked list. Terdapat penjelasan tentang konsep dasar linked list, cara kerja, dan implementasinya dalam bahasa pemrograman termasuk penambahan, penghapusan, dan penyisipan node. Juga dibahas metode-metode yang dapat dilakukan pada linked list seperti pengecekan kondisi kosong, pengaksesan ukuran dan data, serta operasi-operasi lainnya.
Dokumen tersebut membahas tentang implementasi stack menggunakan linked list dalam bahasa C++. Terdapat penjelasan tentang konsep dasar linked list dan node. Program tersebut mendemonstrasikan cara membuat, menambah, menampilkan, dan menghapus data pada stack menggunakan linked list dengan menggunakan pointer dan struct.
Dokumen ini membahas tentang linked list, yaitu struktur data yang menyimpan kumpulan data secara terhubung dengan pointer. Linked list terdiri dari node-node yang masing-masing berisi data dan pointer ke node berikutnya. Pointer next pada node terakhir bernilai NULL untuk menandakan akhir linked list. Linked list memungkinkan penambahan dan penghapusan node secara dinamis karena alokasi memori node secara terpisah.
MAKALAH LINKED LIST DALAM BAHASA C.docxDikicandra6
Dokumen tersebut membahas tentang linked list, yang merupakan salah satu struktur data yang memungkinkan penyimpanan data secara dinamis. Terdapat penjelasan mengenai pengertian, jenis, contoh program, operasi seperti traversal, pencarian, penyisipan dan penghapusan simpul pada linked list.
Dokumen tersebut membahas tentang struktur data linked list. Terdapat penjelasan tentang konsep dasar linked list, cara kerja, dan implementasinya dalam bahasa pemrograman termasuk penambahan, penghapusan, dan penyisipan node. Juga dibahas metode-metode yang dapat dilakukan pada linked list seperti pengecekan kondisi kosong, pengaksesan ukuran dan data, serta operasi-operasi lainnya.
Dokumen tersebut membahas tentang implementasi stack menggunakan linked list dalam bahasa C++. Terdapat penjelasan tentang konsep dasar linked list dan node. Program tersebut mendemonstrasikan cara membuat, menambah, menampilkan, dan menghapus data pada stack menggunakan linked list dengan menggunakan pointer dan struct.
Dokumen ini membahas tentang linked list, yaitu struktur data yang menyimpan kumpulan data secara terhubung dengan pointer. Linked list terdiri dari node-node yang masing-masing berisi data dan pointer ke node berikutnya. Pointer next pada node terakhir bernilai NULL untuk menandakan akhir linked list. Linked list memungkinkan penambahan dan penghapusan node secara dinamis karena alokasi memori node secara terpisah.
MAKALAH LINKED LIST DALAM BAHASA C.docxDikicandra6
Dokumen tersebut membahas tentang linked list, yang merupakan salah satu struktur data yang memungkinkan penyimpanan data secara dinamis. Terdapat penjelasan mengenai pengertian, jenis, contoh program, operasi seperti traversal, pencarian, penyisipan dan penghapusan simpul pada linked list.
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
Creative operations teams expect increased AI use in 2024. Currently, over half of tasks are not AI-enabled, but this is expected to decrease in the coming year. ChatGPT is the most popular AI tool currently. Business leaders are more actively exploring AI benefits than individual contributors. Most respondents do not believe AI will impact workforce size in 2024. However, some inhibitions still exist around AI accuracy and lack of understanding. Creatives primarily want to use AI to save time on mundane tasks and boost productivity.
Organizational culture includes values, norms, systems, symbols, language, assumptions, beliefs, and habits that influence employee behaviors and how people interpret those behaviors. It is important because culture can help or hinder a company's success. Some key aspects of Netflix's culture that help it achieve results include hiring smartly so every position has stars, focusing on attitude over just aptitude, and having a strict policy against peacocks, whiners, and jerks.
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
PepsiCo provided a safe harbor statement noting that any forward-looking statements are based on currently available information and are subject to risks and uncertainties. It also provided information on non-GAAP measures and directing readers to its website for disclosure and reconciliation. The document then discussed PepsiCo's business overview, including that it is a global beverage and convenient food company with iconic brands, $91 billion in net revenue in 2023, and nearly $14 billion in core operating profit. It operates through a divisional structure with a focus on local consumers.
Content Methodology: A Best Practices Report (Webinar)contently
This document provides an overview of content methodology best practices. It defines content methodology as establishing objectives, KPIs, and a culture of continuous learning and iteration. An effective methodology focuses on connecting with audiences, creating optimal content, and optimizing processes. It also discusses why a methodology is needed due to the competitive landscape, proliferation of channels, and opportunities for improvement. Components of an effective methodology include defining objectives and KPIs, audience analysis, identifying opportunities, and evaluating resources. The document concludes with recommendations around creating a content plan, testing and optimizing content over 90 days.
How to Prepare For a Successful Job Search for 2024Albert Qian
The document provides guidance on preparing a job search for 2024. It discusses the state of the job market, focusing on growth in AI and healthcare but also continued layoffs. It recommends figuring out what you want to do by researching interests and skills, then conducting informational interviews. The job search should involve building a personal brand on LinkedIn, actively applying to jobs, tailoring resumes and interviews, maintaining job hunting as a habit, and continuing self-improvement. Once hired, the document advises setting new goals and keeping skills and networking active in case of future opportunities.
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
The document provides career advice for getting into the tech field, including:
- Doing projects and internships in college to build a portfolio.
- Learning about different roles and technologies through industry research.
- Contributing to open source projects to build experience and network.
- Developing a personal brand through a website and social media presence.
- Networking through events, communities, and finding a mentor.
- Practicing interviews through mock interviews and whiteboarding coding questions.
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
1. Core updates from Google periodically change how its algorithms assess and rank websites and pages. This can impact rankings through shifts in user intent, site quality issues being caught up to, world events influencing queries, and overhauls to search like the E-A-T framework.
2. There are many possible user intents beyond just transactional, navigational and informational. Identifying intent shifts is important during core updates. Sites may need to optimize for new intents through different content types and sections.
3. Responding effectively to core updates requires analyzing "before and after" data to understand changes, identifying new intents or page types, and ensuring content matches appropriate intents across video, images, knowledge graphs and more.
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
Creative operations teams expect increased AI use in 2024. Currently, over half of tasks are not AI-enabled, but this is expected to decrease in the coming year. ChatGPT is the most popular AI tool currently. Business leaders are more actively exploring AI benefits than individual contributors. Most respondents do not believe AI will impact workforce size in 2024. However, some inhibitions still exist around AI accuracy and lack of understanding. Creatives primarily want to use AI to save time on mundane tasks and boost productivity.
Organizational culture includes values, norms, systems, symbols, language, assumptions, beliefs, and habits that influence employee behaviors and how people interpret those behaviors. It is important because culture can help or hinder a company's success. Some key aspects of Netflix's culture that help it achieve results include hiring smartly so every position has stars, focusing on attitude over just aptitude, and having a strict policy against peacocks, whiners, and jerks.
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
PepsiCo provided a safe harbor statement noting that any forward-looking statements are based on currently available information and are subject to risks and uncertainties. It also provided information on non-GAAP measures and directing readers to its website for disclosure and reconciliation. The document then discussed PepsiCo's business overview, including that it is a global beverage and convenient food company with iconic brands, $91 billion in net revenue in 2023, and nearly $14 billion in core operating profit. It operates through a divisional structure with a focus on local consumers.
Content Methodology: A Best Practices Report (Webinar)contently
This document provides an overview of content methodology best practices. It defines content methodology as establishing objectives, KPIs, and a culture of continuous learning and iteration. An effective methodology focuses on connecting with audiences, creating optimal content, and optimizing processes. It also discusses why a methodology is needed due to the competitive landscape, proliferation of channels, and opportunities for improvement. Components of an effective methodology include defining objectives and KPIs, audience analysis, identifying opportunities, and evaluating resources. The document concludes with recommendations around creating a content plan, testing and optimizing content over 90 days.
How to Prepare For a Successful Job Search for 2024Albert Qian
The document provides guidance on preparing a job search for 2024. It discusses the state of the job market, focusing on growth in AI and healthcare but also continued layoffs. It recommends figuring out what you want to do by researching interests and skills, then conducting informational interviews. The job search should involve building a personal brand on LinkedIn, actively applying to jobs, tailoring resumes and interviews, maintaining job hunting as a habit, and continuing self-improvement. Once hired, the document advises setting new goals and keeping skills and networking active in case of future opportunities.
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
The document provides career advice for getting into the tech field, including:
- Doing projects and internships in college to build a portfolio.
- Learning about different roles and technologies through industry research.
- Contributing to open source projects to build experience and network.
- Developing a personal brand through a website and social media presence.
- Networking through events, communities, and finding a mentor.
- Practicing interviews through mock interviews and whiteboarding coding questions.
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
1. Core updates from Google periodically change how its algorithms assess and rank websites and pages. This can impact rankings through shifts in user intent, site quality issues being caught up to, world events influencing queries, and overhauls to search like the E-A-T framework.
2. There are many possible user intents beyond just transactional, navigational and informational. Identifying intent shifts is important during core updates. Sites may need to optimize for new intents through different content types and sections.
3. Responding effectively to core updates requires analyzing "before and after" data to understand changes, identifying new intents or page types, and ensuring content matches appropriate intents across video, images, knowledge graphs and more.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
2. Beberapa jenis struktur data
1. Array
1. Linear List
2. Stack
3. Queue
2. List
1. Linked List
2. Circular List
3. Doubly-linked List
4. Multi list structure
3. Tree Structure
1. Apa ?
2. Bagaimana cara implementasinya ?
3. Apakah Linked List itu ?
• Elemen (disebut dengan CELL, atau SEL dalam bahasa
Indonesia) yang mungkin terletak terpisah-pisah di
memory, disambungkan dengan pointer.
• Tiap sel berisi dua informasi : nilai dan pointer ke sel
berikutnya
CELL
nilai Pointer to next CELL
nilai Pointer to next CELL
nilai Pointer to next CELL
4. 1. Mudah untuk menambahkan dan menghapus elemen
(pada array tidak mungkin menambahkan elemen,
karena banyaknya elemen sudah ditentukan dari
awal)
2. Panjang list bisa diubah dengan bebas (panjang array
fixed)
3. Mudah untuk menyambungkan beberapa list, maupun
memutuskannya (array tidak bisa)
4. Memungkinkan user mendesain struktur data yang
kompleks
Mengapa memakai Linked List ?
5. Array vs Linked List
Array Linked List
Penambahan dan
penghapusan
elemen
Tidak mungkin Mungkin
Panjang list Fixed Bisa diubah
Akses ke elemen Random
access
cepat
Sequential access
(harus mengikuti pointer satu
demi satu)
lambat
6. Array vs Linked List
13
1 2 3
struct CELL {
struct CELL *next;
int value;
} *head;
1
head
2
3
a[0]
a[1]
a[2]
int a[3];
int n;
Array Linked List
address 13
18
address 18
24
address 24
Address tidak berurutan
Akses ke tiap sel dimulai dari header
Address tiap sel berurutan
value Pointer ke sel berikutnya
(next)
next next
value
value
(NULL)
7. NULL POINTER
• Nilai yang dimiliki sebuah pointer adalah address pada
memory dimana data tersimpan
• Pointer yang tidak menunjuk ke address manapun
disebut dengan NULL pointer. Maksudnya, satu kondisi
khusus dimana pointer itu belum diset dengan sebuah
address tertentu
• Pada stdio.h biasanya didefinisikan dengan nilai 0
• Saat fungsi fopen,malloc dieksekusi, jika terdapat error,
maka nilai yang dikembalikan adalah NULL
Pada kuliah ini, NULL disimbolkan
dengan kotak yang diberi garis diagonal
8. AKSES SEKUENSIAL
Sel berisi (value + pointer ke sel berikutnya)
Akses hanya bisa dilakukan searah saja, dari ujung
depan ke arah belakang. Akses berlawanan arah tidak
dapat dilakukan.
struct CELL *p;
for (p=head;p!=NULL;p=p->next) cout <<p->value;
12
25
1 37
2 3
head
1
2
3
12 25 37
value pointer
pointer
Cara menampilkan isi seluruh list :
Pointer p digerakkan ke kanan dengan cara p=p->next
value pointer value pointer
9. Cara menampilkan isi sel tertentu
• Pada array (misalnya nama array: a), isi sel tertentu
dapat ditampilkan dengan cara a[nomer urut sel
keberapa]. Misalnya a[5] akan menampilkan isi sel ke-6.
Hal ini karena satu sel dengan sel yang lain terletak
pada posisi yang berurutan di memory.
• Pada linked list, kita tidak tahu secara langsung, sel itu
terletak dimana dalam memory.
Akses harus dilakukan satu persatu, urut mulai dari sel
terdepan
10. Cara menampilkan isi sel tertentu
head
pointer
Sel ke-1→ isi: value=4
address sel berikutnya=38
37 38
4 40
2 40
52
13
37 38 40 52
NULL
Sel ke-1
Tampilkan isi (value) sel ke-3 !
address
11. Cara menampilkan isi sel tertentu
head
pointer
Sel ke-2→ isi: value=2
address sel berikutnya=40
37 38
4 40
2 40
52
13
37 38 40 52
NULL
Sel ke-1 Sel ke-2
Tampilkan isi (value) sel ke-3 !
address
12. Cara menampilkan isi sel tertentu
head
pointer
Sel ke-3→ isi: value=13
address sel berikutnya=52
37 38
4 40
2 40
52
13
37 38 40 52
NULL
Sel ke-1 Sel ke-2 Sel ke-3
Tampilkan isi (value) sel ke-3 !
address
Sampai di sini sudah
bisa menampilkan
isi sel ke-3
13. Operasi pada Linked List
1. Menambahkan data pada linked list
1. Menambahkan sel baru yang terletak setelah
sebuah sel tertentu
2. Menambahkan sel baru pada posisi terdepan
sebuah linked list
2. Menghapus data pada linked list
1. Menghapus sebuah sel yang terletak setelah
sebuah sel tertentu
2. Menghapus sel pada posisi terdepan sebuah linked
list
3. Syarat-syarat pada perbatasan
14. Menambahkan sel baru
1. Membuat sel yang akan ditambahkan (memakai
malloc)
2. Mengeset “value” pada sel itu
3. Mengeset pointer “next” yang menunjukkan koneksi
antara satu sel dengan yang lain
Catatan penting:
Pada linked list, penambahan sebuah sel
baru hanya bisa dilakukan pada posisi
sesudah sel tertentu, tetapi tidak dapat
ditambahkan pada posisi sebelum sel tsb.
15. Contoh penambahan sel baru
37 38
4 40
2 40
head
52
13
Ingin menambahkan sel sesudah sel ke-3(value=13)
37 38 40 52
37 38
4 40
2 40
3
13
37 38 40 52
100
52
100
3
3
sel ke-1 sel ke-2 sel ke-3 sel ke-4
Koneksi pada
pointer next disesuaikan
Here!
next next next next
sel ke-1 sel ke-2 sel ke-3 sel ke-4
16. Menambahkan sel baru setelah sel yang
ditunjuk oleh pointer x
24
5
9
p
x
28
13 73
2
20 24 28
18
(1) Sediakan pointer p yang menunjuk ke sebuah sel
struct CELL *p;
(2) Buatlah sebuah sel baru dengan malloc() (alokasi
memory) yang dimulai dengan address yang ditunjukkan
oleh pointer p
(3) Set-lah value pada sel p
(4) Modifikasi pointer
p->next = x->next;
x->next = p;
next
next
Masukkan sel p
Alokasi memory
dengan malloc
17. Menambahkan sel baru setelah sel yang
ditunjuk oleh pointer x
(1) Sediakan pointer p yang menunjuk ke sebuah sel
struct CELL *p;
(2) Buatlah sebuah sel baru dengan malloc() (alokasi
memory) yang dimulai dengan address yang ditunjukkan
oleh pointer p
(3) Set-lah value pada sel p
(4) Modifikasi pointer
p->next = x->next;
x->next = p;
Masukkan sel p
p
18
5
24
9
x
28
13 73
2
20 24 28
18 next
next
18. Operasi pada Linked List
1. Menambahkan data pada linked list
1. Menambahkan sel baru yang terletak setelah
sebuah sel tertentu
2. Menambahkan sel baru pada posisi terdepan
sebuah linked list
2. Menghapus data pada linked list
1. Menghapus sebuah sel yang terletak setelah
sebuah sel tertentu
2. Menghapus sel pada posisi terdepan sebuah linked
list
3. Syarat-syarat pada perbatasan
19. Menambahkan sel baru pada posisi
terdepan sebuah linked list
• Cara menambahkan sel baru pada posisi terdepan
sebuah linked list berbeda dengan cara menambahkan
sel ke tengah list tsb.
• Memakai pointer head yang menunjukkan posisi
terdepan sebuah linked-list
20. Menambahkan sel baru pada posisi
terdepan sebuah linked list
(1)Sediakan pointer p yang menunjuk ke sebuah sel
struct CELL *p;
(2)Buatlah sebuah sel baru dengan malloc() (alokasi memory)
yang dimulai dengan address yang ditunjukkan oleh pointer p
(3)Set-lah value pada sel p
(4)Substitusikan address pada head ke bagian next pada p
p->next = head;
(5) Updatelah nilai header dengan address p
head = p;
24 28
13 73
2
24 28
p
9
18 next
head next
Alokasi memory
dengan malloc
21. Menambahkan sel baru pada posisi
terdepan sebuah linked list
(1)Sediakan pointer p yang menunjuk ke sebuah sel
struct CELL *p;
(2)Buatlah sebuah sel baru dengan malloc() (alokasi memory)
yang dimulai dengan address yang ditunjukkan oleh pointer p
(3)Set-lah value pada sel p
(4)Substitusikan address pada header ke bagian next pada p
p->next = head;
(5) Updatelah nilai head dengan address p
head = p;
18 28
13 73
2
24 28
p
24
9
18 next
head next
22. • Cara lain menambahkan sel baru pada posisi terdepan
sebuah list
• Head bukan pointer melainkan sel ke-0
• Memakai cara yang sama dengan list (1)(menambahkan
elemen pada tengah-tengah sebuah list)
Menambahkan sel baru pada posisi
terdepan sebuah linked list
23. Menambahkan sel baru pada posisi
terdepan sebuah linked list (2)
24
-
(1) Header tidak didefinisikan sebagai sebuah pointer, melainkan
sebuah sel
struct CELL head;
(2)Tempatkan next pada header agar menunjuk ke posisi terdepan
pada list,dan head dianggap sebagai sel ke-0
(3)Masukkan elemen p pada posisi sesudah elemen ke-0
(4)Selanjutnya sama dengan proses penambahan sel baru pada
penjelasan sebelumnya (modifikasi next)
28
13 73
2
24 28
p
9
18
x
head
sel ke-0 sel terdepan
24. Menambahkan sel baru pada posisi
terdepan sebuah linked list (2)
(1) Header tidak didefinisikan sebagai sebuah pointer, melainkan
sebuah sel
struct CELL head;
(2)Tempatkan next pada header agar menunjuk ke posisi terdepan
pada list,dan header dianggap sebagai sel ke-0
(3)Masukkan elemen p pada posisi sesudah elemen ke-0
(4)Selanjutnya sama dengan proses penambahan sel baru pada
penjelasan sebelumnya (modifikasi next)
18
- 28
13 73
2
24 28
p
24
9
18
x
sel ke-0
25. Operasi pada Linked List
1. Menambahkan data pada linked list
1. Menambahkan sel baru yang terletak setelah
sebuah sel tertentu
2. Menambahkan sel baru pada posisi terdepan
sebuah linked list
2. Menghapus data pada linked list
1. Menghapus sebuah sel yang terletak setelah
sebuah sel tertentu
2. Menghapus sel pada posisi terdepan sebuah linked
list
3. Syarat-syarat pada perbatasan
26. Menghapus sebuah sel
1. Periksa pointer NULL
2. Mengubah pointer next (skip 1 sel)
3. Mengeluarkan isi sel yang dihapus (optional)
4. Bebaskan memory yang dialokasikan memakai fungsi
free()
Catatan penting
Pada linked list, kita bisa menghapus sebuah sel yang
terletak pada posisi sesudah sel tertentu. Tetapi kita tidak
dapat menghapus sebuah sel yang ditunjuk oleh pointer itu
sendiri !
27. Contoh penghapusan sebuah sel
ingin dihapus
37 38
4 40
2 40
3
13
37 38 40 52
52
100
3
37 40
4 40
2 40
3
13
37 38 40 52
52
100
3
skip
hapus dengan fungsi free()
28. 削除
指定セル直後のセルを削除
18
31
x
23
20 18
27
(1)siapkan pointer yang akan menunjuk ke sel yang akan dihapus
struct CELL *p;
(2)Periksalah apakah sel yang dihapus itu NULL atau tidak
if(x->next == NULL)
fatal_error(”sel tidak dapat dihapus karena tidak ada sel
lagi sesudahnya”);
(3)Set-lah agar pointer p menunjuk ke sel yang ingin dihapus
p = x->next;
(4)Sesuaikan next dari sel sel x (skip p)
x->next = p->next;
(5)Print-lah isi sel yang ditunjuk oleh pointer p
(6)Bebaskan memory yang
ditunjuk oleh pointer p
free(p);
18 23
ingin dihapus
Cara menghapus sel sesudah sel x
29. 指定セル直後のセルを削除
(1)siapkan pointer yang akan menunjuk ke sel yang akan dihapus
struct CELL *p;
(2)Periksalah apakah sel yang dihapus itu NULL atau tidak
if(x->next == NULL)
fatal_error(”sel tidak dapat dihapus karena tidak ada sel
lagi sesudahnya”);
(3)Set-lah agar pointer p menunjuk ke sel yang ingin dihapus
p = x->next;
(4)Sesuaikan next dari sel sel x (skip p)
x->next = p->next;
(5)Print-lah isi sel yang ditunjuk oleh pointer p
(6)Bebaskan memory yang
ditunjuk oleh pointer p
free(p);
Cara menghapus sel sesudah sel x
削除
23
31
x
23
20 18
27
18 23
p
skip
30. 指定セル直後のセルを削除
(1)siapkan pointer yang akan menunjuk ke sel yang akan dihapus
struct CELL *p;
(2)Periksalah apakah sel yang dihapus itu NULL atau tidak
if(x->next == NULL)
fatal_error(”sel tidak dapat dihapus karena tidak ada sel
lagi sesudahnya”);
(3)Set-lah agar pointer p menunjuk ke sel yang ingin dihapus
p = x->next;
(4)Sesuaikan next dari sel sel x (skip p)
x->next = p->next;
(5)Print-lah isi sel yang ditunjuk oleh pointer p
(6)Bebaskan memory yang
ditunjuk oleh pointer p
free(p);
Cara menghapus sel sesudah sel x
23
31
x
18
27
23
dihapus dengan free()
31. Operasi pada Linked List
1. Menambahkan data pada linked list
1. Menambahkan sel baru yang terletak setelah
sebuah sel tertentu
2. Menambahkan sel baru pada posisi terdepan
sebuah linked list
2. Menghapus data pada linked list
1. Menghapus sebuah sel yang terletak setelah
sebuah sel tertentu
2. Menghapus sel pada posisi terdepan sebuah linked
list
3. Syarat-syarat pada perbatasan
32. Menghapus sel pada posisi terdepan
sebuah linked list
• Memakai cara yang lain dengan cara menghapus sel
di tengah-tengah sebuah linked list
• Memanfaatkan pointer header
33. 18 23
20 18
27
(1)Siapkan pointer p
struct CELL *header, *p;
(2)Periksa apakah header NULL atau tidak
if(header == NULL)
fatal_error(”List kosong, sehingga penghapusan sel
tidak dapat dilakukan”);
(3)Set-lah address elemen terdepan ke p
p = header;
(4)Update-lah pointer header
header = p->next;
(5)Tampilkan isi sel yang ditunjuk oleh p (optional)
(6) Bebaskan memory yang ditunjuk oleh pointer p
18 23
Ingin dihapus
head
p
Menghapus sel pada posisi terdepan
sebuah linked list
34. (1)Siapkan pointer p
struct CELL *header, *p;
(2)Periksa apakah header NULL atau tidak
if(header == NULL)
fatal_error(”List kosong, sehingga penghapusan sel
tidak dapat dilakukan”);
(3)Set-lah address elemen terdepan ke p
p = head;
(4)Update-lah pointer header
head = p->next;
(5)Tampilkan isi sel yang ditunjuk oleh p (optional)
(6) Bebaskan memory yang ditunjuk oleh pointer p
Menghapus sel pada posisi terdepan
sebuah linked list
18 18
27
23
23
head
dihapus dengan fungsi free()
35. Menghapus sel pada posisi terdepan
sebuah linked list
• Memakai cara sama seperti saat menghapus sel pada
tengah-tengah sebuah list
• Head bukan pointer, melainkan sel ke-0
36. Menghapus sel pada posisi terdepan
sebuah linked list (2)
18
- 23
20 18
27
(1)Header dideklarasikan sebagai sebuah sel.
p dideklarasikan sebagai pointer yang menunjuk ke sel
yang ingin dihapus
struct CELL head, *p;
(2)Substitusikan address head ke pointer x
x=&head
(3)Selanjutnya pergunakan cara yang sama dengan cara
menghapus sel yang berada di tengah-tengah sebuah list.
Yaitu menghapus sel yang terletak sesudah sel yang
ditunjuk oleh pointer x.
18 23
sel yang ingin dihapus
head
sel ke-0
17
sel ke-1 sel ke-2
37. Menghapus sel pada posisi terdepan
sebuah linked list (2)
(1)Header dideklarasikan sebagai sebuah sel.
p dideklarasikan sebagai pointer yang menunjuk ke sel
yang ingin dihapus
struct CELL head, *p;
(2)Substitusikan address head ke pointer x
x=&head
(3)Selanjutnya pergunakan cara yang sama dengan cara
menghapus sel yang berada di tengah-tengah sebuah list.
Yaitu menghapus sel yang terletak sesudah sel yang
ditunjuk oleh pointer x.
18
- 23
20 18
27
p=18
x=17 23
head(x)
Sel ke-0
p
sel yang ingin dihapus
38. Menghapus sel pada posisi terdepan
sebuah linked list (2)
(1)Header dideklarasikan sebagai sebuah sel.
p dideklarasikan sebagai pointer yang menunjuk ke sel
yang ingin dihapus
struct CELL head, *p;
(2)Substitusikan address header ke pointer x
x=&head
(3)Selanjutnya pergunakan cara yang sama dengan cara
menghapus sel yang berada di tengah-tengah sebuah list.
Yaitu menghapus sel yang terletak sesudah sel yang
ditunjuk oleh pointer x.
23
- 23
20 18
27
p=18
skip
23
head
Sel ke-0
p
dihapus dengan fungsi free
39. Rangkuman
• Linked list terdiri dari komponen-komponen berikut
– value
– pointer ke sel berikutnya
• Data yang tersimpan (value) pada linked-list diakses dengan cara
sekuensial. Untuk melihat value dari suatu sel yang berada di
tengah list, kita harus mengikuti alur list, mulai dari sel pertama dan
seterusnya sampai bertemu dengan sel yang value-nya ingin
ditampilkan.
• Penambahan sel, penghapusan sel dapat dilakukan dengan cara
mengubah pointer
• Ada dua cara operasi penambahan dan penghapusan sel yang
terdepan. Yang lebih mudah adalah dengan memakai header bukan
sebagai pointer, melainkan sebagai sel ke-0
value next
value next value next
value next
40. Latihan
value *next
(1) Pada saat header = 35, gambarkan linked list yang dibuat
dari sel-sel dibawah.
(2) Gambarkan kondisi linked-list saat sel dengan value 24
dihapus
(3) Gambarkan kondisi linked-list saat sel berikut ditambahkan
Sesudah sel dengan value 23
address
18 13
18
23 26
21
100 NULL
26
20 18
35
24 21
13
45
42
41. Operasi pada Linked List
1. Menambahkan data pada linked list
1. Menambahkan sel baru yang terletak setelah
sebuah sel tertentu
2. Menambahkan sel baru pada posisi terdepan
sebuah linked list
2. Menghapus data pada linked list
1. Menghapus sebuah sel yang terletak setelah
sebuah sel tertentu
2. Menghapus sel pada posisi terdepan sebuah linked
list
3. Syarat-syarat pada perbatasan
42. Syarat-syarat pada perbatasan
• Hal-hal yang harus diperhatikan
– Bagaimana menghandle sel terdepan dan terbelakang
– Proses saat list kosong
• Program linkedlist.c (Angka diurutkan, nilainya semakin
tinggi)
– Sel yang jadi pusat operasi (pointer p)
– Pointer yang menunjuk ke address sel sebelumnya (pointer q)
7
q(=5) p(=7)
5 7
43. Fungsi insert
struct CELL {
struct CELL *next;
int value;
};
typedef struct CELL cell;
cell head;
cell_insert(int a)
{
cell *p, *q, *new_cell;
/* mencari posisi dimana sel harus dimasukkan */
p = head.next;
q = &head;
while (p != NULL && a > p-> value) {
q = p;
p = p->next;
}
44. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
head
p=head.next = 38
q=&head = 20
while (p != NULL) {
q = p;
p = p->next;
}
Akses ke tiap sel satu persatu
45. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
while (p != NULL ) {
q = p; q = 38
p = p->next; p = 40
}
head
Akses ke tiap sel satu persatu
46. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
while (p != NULL) {
q = p; q = 40
p = p->next; p = 52
}
head
Akses ke tiap sel satu persatu
47. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
while (p != NULL) {
q = p; q = 52
p = p->next; p = 70
}
head
Akses ke tiap sel satu persatu
48. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
while (p != NULL) {
q = p; q = 70
p = p->next; p = NULL
}
head
Akses ke tiap sel satu persatu
49. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
head
p=head.next = 38
q=&head = 20
while ((p != NULL ) && (p-> value < a)) {
q = p;
p = p->next;
}
Ingin memasukkan 4(a=4)
p->value=2
50. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
head
while ((p != NULL ) && (p-> value < a)) {
q = p; q = 38
p = p->next; p = 40
}
p=head.next = 38
q=&head = 20
Ingin memasukkan 4(a=4)
51. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
q p
header
while ((p != NULL ) && (p-> value < a)) {
q = p;
p = p->next;
}
/* Masukkan sel baru */
p->value=5
p=40
q=38
Masukkan 4 sebelum p(value 5)
Keluar dari loop
Ingin memasukkan 4(a=4)
52. 38
- 40
2 12
52
5
20 38 40 52 70
70
7
header
/* Menambahkan sel baru */
If ((new_cell=(cell*)malloc(sizeof(cell)))==NULL)
fatal_error(”memory tidak cukup”);
new_cell->next=p; ←di sini new_cell->next diisi dengan 40
q->next=new_cell; ←di sini q->next diisi dengan 35
new_cell->value=a;
}
4
q p
35
new_cell
Memasukkan new_cell (value 4) sebelum p(value 5) =
memasukkan sel baru sesudah q. Untuk itulah dalam
proses ini diperlukan 2 pointer p dan q !
Ingin memasukkan 4(a=4)
53. 38
- 35
2 12
52
5
20 38 40 52 70
70
7
header
40
4
35
new_cell
Ingin memasukkan 4(a=4)
Memasukkan new_cell (value 4) sebelum p(value 5) =
memasukkan sel baru sesudah q. Untuk itulah dalam
proses ini diperlukan 2 pointer p dan q !
/* Menambahkan sel baru */
If ((new_cell=(cell*)malloc(sizeof(cell)))==NULL)
fatal_error(”memory tidak cukup”);
new_cell->next=p; ←di sini new_cell->next diisi dengan 40
q->next=new_cell; ←di sini q->next diisi dengan 35
new_cell->value=a;
}