SlideShare a Scribd company logo
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")

More Related Content

More from 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.pdf
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 
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
adityatimes1
 

More from 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
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 

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")