SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
Anagram is a word, phrase, or name formed by rearranging the letters of another, such as cinema,
formed from iceman. isAnagram method checks if word1 and word2 are anagram to each other
then return a boolean. each letter in word1 should appear in word2 exact number of times ignore
empty spaces make your code case insensitive Examples: isAnagram("listen", "Silent") ==> true
isAnagram("earth", "heart") ==> true isAnagram("star", "rats") ==> true isAnagram("hi", "bye")

Contenu connexe

Plus de adityatimes1

Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdf
Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdfAnahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdf
Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdfadityatimes1
 
answer the question please R27 What are the values of th.pdf
answer the question please  R27 What are the values of th.pdfanswer the question please  R27 What are the values of th.pdf
answer the question please R27 What are the values of th.pdfadityatimes1
 
answer thissocial network analysis Q2 Consider the acq.pdf
answer thissocial network analysis   Q2 Consider the acq.pdfanswer thissocial network analysis   Q2 Consider the acq.pdf
answer thissocial network analysis Q2 Consider the acq.pdfadityatimes1
 
answer this question 4 Consider the following binary comm.pdf
answer this question  4 Consider the following binary comm.pdfanswer this question  4 Consider the following binary comm.pdf
answer this question 4 Consider the following binary comm.pdfadityatimes1
 
Answer the Questions Below 1 Vivian has a patient who has .pdf
Answer the Questions Below 1 Vivian has a patient who has .pdfAnswer the Questions Below 1 Vivian has a patient who has .pdf
Answer the Questions Below 1 Vivian has a patient who has .pdfadityatimes1
 
Answer the questions in your own words In your own words pl.pdf
Answer the questions in your own words In your own words pl.pdfAnswer the questions in your own words In your own words pl.pdf
Answer the questions in your own words In your own words pl.pdfadityatimes1
 
Answer the Questions Below 1 Marta the senior RN is f.pdf
Answer the Questions Below    1 Marta the senior RN is f.pdfAnswer the Questions Below    1 Marta the senior RN is f.pdf
Answer the Questions Below 1 Marta the senior RN is f.pdfadityatimes1
 
Answer the questions from The Comic Book story of Beer Q1.pdf
Answer the questions from The Comic Book story of Beer Q1.pdfAnswer the questions from The Comic Book story of Beer Q1.pdf
Answer the questions from The Comic Book story of Beer Q1.pdfadityatimes1
 
Answer the Questions Below 1 As a patient why is it im.pdf
Answer the Questions Below   1  As a patient why is it im.pdfAnswer the Questions Below   1  As a patient why is it im.pdf
Answer the Questions Below 1 As a patient why is it im.pdfadityatimes1
 
Answer the following questions based on the financial statem.pdf
Answer the following questions based on the financial statem.pdfAnswer the following questions based on the financial statem.pdf
Answer the following questions based on the financial statem.pdfadityatimes1
 
Answer the following questions for the TCP segments 1 Wha.pdf
Answer the following questions for the TCP segments 1  Wha.pdfAnswer the following questions for the TCP segments 1  Wha.pdf
Answer the following questions for the TCP segments 1 Wha.pdfadityatimes1
 
Answer the following questions 1 What are risk factors for.pdf
Answer the following questions 1 What are risk factors for.pdfAnswer the following questions 1 What are risk factors for.pdf
Answer the following questions 1 What are risk factors for.pdfadityatimes1
 
Answer the following question as TrueFalse and very briefly.pdf
Answer the following question as TrueFalse and very briefly.pdfAnswer the following question as TrueFalse and very briefly.pdf
Answer the following question as TrueFalse and very briefly.pdfadityatimes1
 
Answer the following 5 points for spelling and ammar 1 Ex.pdf
Answer the following 5 points for spelling and ammar 1 Ex.pdfAnswer the following 5 points for spelling and ammar 1 Ex.pdf
Answer the following 5 points for spelling and ammar 1 Ex.pdfadityatimes1
 
Answer quickly for a thumbs up thank you Assume you have a.pdf
Answer quickly for a thumbs up thank you Assume you have a.pdfAnswer quickly for a thumbs up thank you Assume you have a.pdf
Answer quickly for a thumbs up thank you Assume you have a.pdfadityatimes1
 
Anna who produces eggs and Syed who produces sperm have.pdf
Anna who produces eggs and Syed who produces sperm have.pdfAnna who produces eggs and Syed who produces sperm have.pdf
Anna who produces eggs and Syed who produces sperm have.pdfadityatimes1
 
Ana Chavarria front office manager of The Times quests for .pdf
Ana Chavarria front office manager of The Times quests for .pdfAna Chavarria front office manager of The Times quests for .pdf
Ana Chavarria front office manager of The Times quests for .pdfadityatimes1
 
Answer EACH of the following six 6 questions with a short .pdf
Answer EACH of the following six 6 questions with a short .pdfAnswer EACH of the following six 6 questions with a short .pdf
Answer EACH of the following six 6 questions with a short .pdfadityatimes1
 
Answer any TWO of the provided questions Each answer should.pdf
Answer any TWO of the provided questions Each answer should.pdfAnswer any TWO of the provided questions Each answer should.pdf
Answer any TWO of the provided questions Each answer should.pdfadityatimes1
 
Answer ALL the questions below How Effective Managers Use I.pdf
Answer ALL the questions below How Effective Managers Use I.pdfAnswer ALL the questions below How Effective Managers Use I.pdf
Answer ALL the questions below How Effective Managers Use I.pdfadityatimes1
 

Plus de adityatimes1 (20)

Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdf
Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdfAnahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdf
Anahtar Szckler Okul ncesi eitim sosyal etkileim ibirl.pdf
 
answer the question please R27 What are the values of th.pdf
answer the question please  R27 What are the values of th.pdfanswer the question please  R27 What are the values of th.pdf
answer the question please R27 What are the values of th.pdf
 
answer thissocial network analysis Q2 Consider the acq.pdf
answer thissocial network analysis   Q2 Consider the acq.pdfanswer thissocial network analysis   Q2 Consider the acq.pdf
answer thissocial network analysis Q2 Consider the acq.pdf
 
answer this question 4 Consider the following binary comm.pdf
answer this question  4 Consider the following binary comm.pdfanswer this question  4 Consider the following binary comm.pdf
answer this question 4 Consider the following binary comm.pdf
 
Answer the Questions Below 1 Vivian has a patient who has .pdf
Answer the Questions Below 1 Vivian has a patient who has .pdfAnswer the Questions Below 1 Vivian has a patient who has .pdf
Answer the Questions Below 1 Vivian has a patient who has .pdf
 
Answer the questions in your own words In your own words pl.pdf
Answer the questions in your own words In your own words pl.pdfAnswer the questions in your own words In your own words pl.pdf
Answer the questions in your own words In your own words pl.pdf
 
Answer the Questions Below 1 Marta the senior RN is f.pdf
Answer the Questions Below    1 Marta the senior RN is f.pdfAnswer the Questions Below    1 Marta the senior RN is f.pdf
Answer the Questions Below 1 Marta the senior RN is f.pdf
 
Answer the questions from The Comic Book story of Beer Q1.pdf
Answer the questions from The Comic Book story of Beer Q1.pdfAnswer the questions from The Comic Book story of Beer Q1.pdf
Answer the questions from The Comic Book story of Beer Q1.pdf
 
Answer the Questions Below 1 As a patient why is it im.pdf
Answer the Questions Below   1  As a patient why is it im.pdfAnswer the Questions Below   1  As a patient why is it im.pdf
Answer the Questions Below 1 As a patient why is it im.pdf
 
Answer the following questions based on the financial statem.pdf
Answer the following questions based on the financial statem.pdfAnswer the following questions based on the financial statem.pdf
Answer the following questions based on the financial statem.pdf
 
Answer the following questions for the TCP segments 1 Wha.pdf
Answer the following questions for the TCP segments 1  Wha.pdfAnswer the following questions for the TCP segments 1  Wha.pdf
Answer the following questions for the TCP segments 1 Wha.pdf
 
Answer the following questions 1 What are risk factors for.pdf
Answer the following questions 1 What are risk factors for.pdfAnswer the following questions 1 What are risk factors for.pdf
Answer the following questions 1 What are risk factors for.pdf
 
Answer the following question as TrueFalse and very briefly.pdf
Answer the following question as TrueFalse and very briefly.pdfAnswer the following question as TrueFalse and very briefly.pdf
Answer the following question as TrueFalse and very briefly.pdf
 
Answer the following 5 points for spelling and ammar 1 Ex.pdf
Answer the following 5 points for spelling and ammar 1 Ex.pdfAnswer the following 5 points for spelling and ammar 1 Ex.pdf
Answer the following 5 points for spelling and ammar 1 Ex.pdf
 
Answer quickly for a thumbs up thank you Assume you have a.pdf
Answer quickly for a thumbs up thank you Assume you have a.pdfAnswer quickly for a thumbs up thank you Assume you have a.pdf
Answer quickly for a thumbs up thank you Assume you have a.pdf
 
Anna who produces eggs and Syed who produces sperm have.pdf
Anna who produces eggs and Syed who produces sperm have.pdfAnna who produces eggs and Syed who produces sperm have.pdf
Anna who produces eggs and Syed who produces sperm have.pdf
 
Ana Chavarria front office manager of The Times quests for .pdf
Ana Chavarria front office manager of The Times quests for .pdfAna Chavarria front office manager of The Times quests for .pdf
Ana Chavarria front office manager of The Times quests for .pdf
 
Answer EACH of the following six 6 questions with a short .pdf
Answer EACH of the following six 6 questions with a short .pdfAnswer EACH of the following six 6 questions with a short .pdf
Answer EACH of the following six 6 questions with a short .pdf
 
Answer any TWO of the provided questions Each answer should.pdf
Answer any TWO of the provided questions Each answer should.pdfAnswer any TWO of the provided questions Each answer should.pdf
Answer any TWO of the provided questions Each answer should.pdf
 
Answer ALL the questions below How Effective Managers Use I.pdf
Answer ALL the questions below How Effective Managers Use I.pdfAnswer ALL the questions below How Effective Managers Use I.pdf
Answer ALL the questions below How Effective Managers Use I.pdf
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 

Dernier (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

Anagram is a word phrase or name formed by rearranging the.pdf

  • 1. Anagram is a word, phrase, or name formed by rearranging the letters of another, such as cinema, formed from iceman. isAnagram method checks if word1 and word2 are anagram to each other then return a boolean. each letter in word1 should appear in word2 exact number of times ignore empty spaces make your code case insensitive Examples: isAnagram("listen", "Silent") ==> true isAnagram("earth", "heart") ==> true isAnagram("star", "rats") ==> true isAnagram("hi", "bye")