SlideShare a Scribd company logo
how could I return a length of stack of strings
stack name is history
I cant implement more input parameters
and are not able to use size();
theres no counter
// Implement the historylength method, which // returns how many urls are in the history, // not
including the current page. // hint: Your stack has a useful method for this! int historylength() {
} return history;

More Related Content

More from MattCu9Parrd

Great Pumplins- When growing giant pumplins for competitions- growers.pdf
Great Pumplins- When growing giant pumplins for competitions- growers.pdfGreat Pumplins- When growing giant pumplins for competitions- growers.pdf
Great Pumplins- When growing giant pumplins for competitions- growers.pdf
MattCu9Parrd
 
Given an exponential distribution with -20- what is the probability th.pdf
Given an exponential distribution with -20- what is the probability th.pdfGiven an exponential distribution with -20- what is the probability th.pdf
Given an exponential distribution with -20- what is the probability th.pdf
MattCu9Parrd
 
Given a double vector myVector- an input integer numElements- and an i.pdf
Given a double vector myVector- an input integer numElements- and an i.pdfGiven a double vector myVector- an input integer numElements- and an i.pdf
Given a double vector myVector- an input integer numElements- and an i.pdf
MattCu9Parrd
 
Given $100-000 to invest- construct a value-weighted portfolio of the.pdf
Given $100-000 to invest- construct a value-weighted portfolio of the.pdfGiven $100-000 to invest- construct a value-weighted portfolio of the.pdf
Given $100-000 to invest- construct a value-weighted portfolio of the.pdf
MattCu9Parrd
 
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdfGiven $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
MattCu9Parrd
 
Given an array nums of size n- return the majority element- The majori.pdf
Given an array nums of size n- return the majority element- The majori.pdfGiven an array nums of size n- return the majority element- The majori.pdf
Given an array nums of size n- return the majority element- The majori.pdf
MattCu9Parrd
 
Give personalized examples for each of the following forms of justice-.pdf
Give personalized examples for each of the following forms of justice-.pdfGive personalized examples for each of the following forms of justice-.pdf
Give personalized examples for each of the following forms of justice-.pdf
MattCu9Parrd
 
Homologous Structures (1-2) that are inherited from a common ancestor.pdf
Homologous Structures (1-2) that are inherited from a common ancestor.pdfHomologous Structures (1-2) that are inherited from a common ancestor.pdf
Homologous Structures (1-2) that are inherited from a common ancestor.pdf
MattCu9Parrd
 
holla holla 1) Why can the recombination rate never exceed 50-- a).pdf
holla holla    1) Why can the recombination rate never exceed 50-- a).pdfholla holla    1) Why can the recombination rate never exceed 50-- a).pdf
holla holla 1) Why can the recombination rate never exceed 50-- a).pdf
MattCu9Parrd
 
HITECH Act meaningful use criteria includes which of the following- Se.pdf
HITECH Act meaningful use criteria includes which of the following- Se.pdfHITECH Act meaningful use criteria includes which of the following- Se.pdf
HITECH Act meaningful use criteria includes which of the following- Se.pdf
MattCu9Parrd
 
Histology- Identify the following 3 slides and the parts indicated- a-.pdf
Histology- Identify the following 3 slides and the parts indicated- a-.pdfHistology- Identify the following 3 slides and the parts indicated- a-.pdf
Histology- Identify the following 3 slides and the parts indicated- a-.pdf
MattCu9Parrd
 
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdf
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdfHippo signaling is a conserved pathway that controls cell prolifcratio.pdf
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdf
MattCu9Parrd
 
High-performing teams must be able to- 1) produce an intergenerational.pdf
High-performing teams must be able to- 1) produce an intergenerational.pdfHigh-performing teams must be able to- 1) produce an intergenerational.pdf
High-performing teams must be able to- 1) produce an intergenerational.pdf
MattCu9Parrd
 
Hi- I need help with this coding problem- Please code in C++- Please l.pdf
Hi- I need help with this coding problem- Please code in C++- Please l.pdfHi- I need help with this coding problem- Please code in C++- Please l.pdf
Hi- I need help with this coding problem- Please code in C++- Please l.pdf
MattCu9Parrd
 
Hi- I was told to write a program (python) to generate polymers from f.pdf
Hi- I was told to write a program (python) to generate polymers from f.pdfHi- I was told to write a program (python) to generate polymers from f.pdf
Hi- I was told to write a program (python) to generate polymers from f.pdf
MattCu9Parrd
 
Hi I need help with the following task to write on single program in J.pdf
Hi I need help with the following task to write on single program in J.pdfHi I need help with the following task to write on single program in J.pdf
Hi I need help with the following task to write on single program in J.pdf
MattCu9Parrd
 
Hey- am trying to call on a function from a repository in android stud.pdf
Hey- am trying to call on a function from a repository in android stud.pdfHey- am trying to call on a function from a repository in android stud.pdf
Hey- am trying to call on a function from a repository in android stud.pdf
MattCu9Parrd
 
Here is an example of differentiation of several cell types in our bod.pdf
Here is an example of differentiation of several cell types in our bod.pdfHere is an example of differentiation of several cell types in our bod.pdf
Here is an example of differentiation of several cell types in our bod.pdf
MattCu9Parrd
 
give us programming examples of software interrupts and explain what t.pdf
give us programming examples of software interrupts and explain what t.pdfgive us programming examples of software interrupts and explain what t.pdf
give us programming examples of software interrupts and explain what t.pdf
MattCu9Parrd
 
Help me summrize this please for missinformation message in health and.pdf
Help me summrize this please for missinformation message in health and.pdfHelp me summrize this please for missinformation message in health and.pdf
Help me summrize this please for missinformation message in health and.pdf
MattCu9Parrd
 

More from MattCu9Parrd (20)

Great Pumplins- When growing giant pumplins for competitions- growers.pdf
Great Pumplins- When growing giant pumplins for competitions- growers.pdfGreat Pumplins- When growing giant pumplins for competitions- growers.pdf
Great Pumplins- When growing giant pumplins for competitions- growers.pdf
 
Given an exponential distribution with -20- what is the probability th.pdf
Given an exponential distribution with -20- what is the probability th.pdfGiven an exponential distribution with -20- what is the probability th.pdf
Given an exponential distribution with -20- what is the probability th.pdf
 
Given a double vector myVector- an input integer numElements- and an i.pdf
Given a double vector myVector- an input integer numElements- and an i.pdfGiven a double vector myVector- an input integer numElements- and an i.pdf
Given a double vector myVector- an input integer numElements- and an i.pdf
 
Given $100-000 to invest- construct a value-weighted portfolio of the.pdf
Given $100-000 to invest- construct a value-weighted portfolio of the.pdfGiven $100-000 to invest- construct a value-weighted portfolio of the.pdf
Given $100-000 to invest- construct a value-weighted portfolio of the.pdf
 
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdfGiven $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
Given $100-000 to invest- construct a value-weighted portfolio of the (1).pdf
 
Given an array nums of size n- return the majority element- The majori.pdf
Given an array nums of size n- return the majority element- The majori.pdfGiven an array nums of size n- return the majority element- The majori.pdf
Given an array nums of size n- return the majority element- The majori.pdf
 
Give personalized examples for each of the following forms of justice-.pdf
Give personalized examples for each of the following forms of justice-.pdfGive personalized examples for each of the following forms of justice-.pdf
Give personalized examples for each of the following forms of justice-.pdf
 
Homologous Structures (1-2) that are inherited from a common ancestor.pdf
Homologous Structures (1-2) that are inherited from a common ancestor.pdfHomologous Structures (1-2) that are inherited from a common ancestor.pdf
Homologous Structures (1-2) that are inherited from a common ancestor.pdf
 
holla holla 1) Why can the recombination rate never exceed 50-- a).pdf
holla holla    1) Why can the recombination rate never exceed 50-- a).pdfholla holla    1) Why can the recombination rate never exceed 50-- a).pdf
holla holla 1) Why can the recombination rate never exceed 50-- a).pdf
 
HITECH Act meaningful use criteria includes which of the following- Se.pdf
HITECH Act meaningful use criteria includes which of the following- Se.pdfHITECH Act meaningful use criteria includes which of the following- Se.pdf
HITECH Act meaningful use criteria includes which of the following- Se.pdf
 
Histology- Identify the following 3 slides and the parts indicated- a-.pdf
Histology- Identify the following 3 slides and the parts indicated- a-.pdfHistology- Identify the following 3 slides and the parts indicated- a-.pdf
Histology- Identify the following 3 slides and the parts indicated- a-.pdf
 
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdf
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdfHippo signaling is a conserved pathway that controls cell prolifcratio.pdf
Hippo signaling is a conserved pathway that controls cell prolifcratio.pdf
 
High-performing teams must be able to- 1) produce an intergenerational.pdf
High-performing teams must be able to- 1) produce an intergenerational.pdfHigh-performing teams must be able to- 1) produce an intergenerational.pdf
High-performing teams must be able to- 1) produce an intergenerational.pdf
 
Hi- I need help with this coding problem- Please code in C++- Please l.pdf
Hi- I need help with this coding problem- Please code in C++- Please l.pdfHi- I need help with this coding problem- Please code in C++- Please l.pdf
Hi- I need help with this coding problem- Please code in C++- Please l.pdf
 
Hi- I was told to write a program (python) to generate polymers from f.pdf
Hi- I was told to write a program (python) to generate polymers from f.pdfHi- I was told to write a program (python) to generate polymers from f.pdf
Hi- I was told to write a program (python) to generate polymers from f.pdf
 
Hi I need help with the following task to write on single program in J.pdf
Hi I need help with the following task to write on single program in J.pdfHi I need help with the following task to write on single program in J.pdf
Hi I need help with the following task to write on single program in J.pdf
 
Hey- am trying to call on a function from a repository in android stud.pdf
Hey- am trying to call on a function from a repository in android stud.pdfHey- am trying to call on a function from a repository in android stud.pdf
Hey- am trying to call on a function from a repository in android stud.pdf
 
Here is an example of differentiation of several cell types in our bod.pdf
Here is an example of differentiation of several cell types in our bod.pdfHere is an example of differentiation of several cell types in our bod.pdf
Here is an example of differentiation of several cell types in our bod.pdf
 
give us programming examples of software interrupts and explain what t.pdf
give us programming examples of software interrupts and explain what t.pdfgive us programming examples of software interrupts and explain what t.pdf
give us programming examples of software interrupts and explain what t.pdf
 
Help me summrize this please for missinformation message in health and.pdf
Help me summrize this please for missinformation message in health and.pdfHelp me summrize this please for missinformation message in health and.pdf
Help me summrize this please for missinformation message in health and.pdf
 

Recently uploaded

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 

Recently uploaded (20)

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 

how could I return a length of stack of strings stack name is history.pdf

  • 1. how could I return a length of stack of strings stack name is history I cant implement more input parameters and are not able to use size(); theres no counter // Implement the historylength method, which // returns how many urls are in the history, // not including the current page. // hint: Your stack has a useful method for this! int historylength() { } return history;