Problem Statement
John and Brus have become very famous people all over the world, especially in Bolivia. A man in Bolivia decided to write a story about them. To make the story more truthful, he set up an interview with John. He prepared a list of distinct simple "Yes" or "No" questions and he enlisted the help of two friends to transcribe the interview. Each time he asked a question, one friend wrote down the question while the other friend wrote down the answer. He was very nervous when conducting the interview, so he might have asked some of the questions multiple times. However, John's answers always remained the same for the same questions.
Unfortunately, the friend who was writing down John's answers lost his list.
You are given a
Definition
- Class:
- TheQuestionsAndAnswersDivTwo
- Method:
- find
- Parameters:
- String[]
- Returns:
- int
- Method signature:
- int find(String[] questions)
- (be sure your method is public)
Notes
- Two questions are considered to be the same if corresponding elements of questions are absolutely the same Strings.
- All questions are case-sensitive, i.e., lowercase and uppercase equivalents of the same letter are considered to be different characters.
Constraints
- questions will contain between 1 and 10 elements, inclusive.
- Each element of questions will contain between 1 and 50 characters, inclusive.
- Each character in questions will be a lowercase letter ('a'-'z'), uppercase letter ('A'-'Z'), question mark ('?') or underscore ('_').
Examples
{"How_are_you_doing?", "How_do_you_like_our_country?", "How_are_you_doing?"}
Returns: 4
There are four ways to answer this sequence of questions: "Yes", "Yes", "Yes"; "Yes", "No", "Yes"; "No", "Yes", "No"; "No", "No", "No".
{"Whazzup?"}
Returns: 2
Just a single question.
{"Are_you_ready?", "Are_you_ready?", "Are_you_ready?", "Are_you_ready?"}
Returns: 2
All these questions are the same.
{"Do_you_like_my_story?", "Do_you_like_my_story", "DO_YOU_LIKE_MY_STORY?", "Do__you__like__my__story?"}
Returns: 16
All these questions are distinct.
{"welYgsCwGO", "o", "W", "BPaCs"}
Returns: 16
{"QNcLDUAEH"}
Returns: 2
{"yWT", "_rGkgZVvv", "J", "dwJkAq"}
Returns: 16
{"k", "k", "k", "HzfzivKTyoTwqHGixVsDKHOrbzmDZcNpuvRlkfYUHdhDvR", "k", "sCwGOwoToHqoWZNMBPaCso?G_kQNcLD", "HrBlXmyWTMDE_rGkgZVvvQkgJg_", "k"}
Returns: 16
{"N", "dfzZnDZpP_zMDmY?uqZiKDyJwPErcdb", "F", "gTyHmwtK_bmuQiLJcRytPTaDzk_cJjA", "kjoUmVFGjtpHnvU"}
Returns: 32
{"gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "Z", "Z", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC"}
Returns: 4
{"SzI?ZZeSlWrrYjUsPzGzR", "k", "k", "bbFXWRFDdeSnACJEyLYRifVbBtWiYVVazkW", "k", "bbBMXScfWHBSs"}
Returns: 16
{"UYiGXxEVYhrOAmmisrh"}
Returns: 2
{"hGJwu_yc_nYXrHFIhcVHhaj_TroIYuYqrSdGo"}
Returns: 2
{"YxXwGGXyVti"}
Returns: 2
{"IvLYUgfOUZkKUfOlsPbyKH?wBFNcHFnoRiSep", "IvLYUgfOUZkKUfOlsPbyKH?wBFNcHFnoRiSep", "IvLYUgfOUZkKUfOlsPbyKH?wBFNcHFnoRiSep"}
Returns: 2
{"iwnTNfNCKucbAhGfmbeCXVDmEnJqzcZG_"}
Returns: 2
{"HgtghELkyCFnKYgpWtpZbNSizoBmDlp", "zwWVlguImqtfoVp_VzxgFGjcWFhHvfJYguFF", "HgtghELkyCFnKYgpWtpZbNSizoBmDlp", "HgtghELkyCFnKYgpWtpZbNSizoBmDlp", "HgtghELkyCFnKYgpWtpZbNSizoBmDlp", "XybYs", "HgtghELkyCFnKYgpWtpZbNSizoBmDlp", "puorRm"}
Returns: 16
{"YzlMuqTCG", "YzlMuqTCG", "lCdZqzvKvkmAlloTUFTXp", "_stLPdVCdoBDtRfqmNkTywbIF", "lCdZqzvKvkmAlloTUFTXp", "lCdZqzvKvkmAlloTUFTXp", "_LKPUFdQoafpF"}
Returns: 16
{"h", "MpEObSrf_MYWPIP_V", "z"}
Returns: 8
{"skSFejNNfrSxDdCZvKBb_dBL", "skSFejNNfrSxDdCZvKBb_dBL", "EMS?QlTUyUn", "Qlsz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E"}
Returns: 128
{"_LKPUFdQoafpFim?WPhBHCMpEObSrf_MYWPIP_VodszuwgRBsk", "_LKPUFdQoafpFim?WPhBHCMpEObSrf_MYWPIP_VodszuwgRBsk", "_LKPUFdQoafpFim?WPhBHCMpEObSrf_MYWPIP_VodszuwgRBsk", "rSxDdCZvKBb_dBLwcoM_EMS?QlTUyUnaV_QlszHUIZltIEZScF", "FUilKoDNYMyqoALvej?eRpP?WJIaWkoeqfjZGvTnvCIEUINNGg", "aXcfaOafbb?OuQkurPKxeZr?ZFaOTcgclZLSjaVXHvhSApPcBG", "HyIzrndZRHemNuZpNNypAuckVCwQkhFhzfUGpGbQOpFsJwXHCu", "FUilKoDNYMyqoALvej?eRpP?WJIaWkoeqfjZGvTnvCIEUINNGg", "aXcfaOafbb?OuQkurPKxeZr?ZFaOTcgclZLSjaVXHvhSApPcBG", "_LKPUFdQoafpFim?WPhBHCMpEObSrf_MYWPIP_VodszuwgRBsk"}
Returns: 32
{"JkxEgpXQcsTTqdITJymkyUJHMSqB?HqPdClgtvktTakEOVhTOw", "ImGrAUCtuGNYbKxuSeDAZBOrambSCCkliImGxLjCoBWuyuQjUK", "JkxEgpXQcsTTqdITJymkyUJHMSqB?HqPdClgtvktTakEOVhTOw", "jILSzqBGMvxkneGwB?JVKfcKIuauv?pj_tRjieQPojsnovBgja", "BCFKBwQEbxtv_oDFSImedlAnGOWmUmNgoBzXZNXdzzqwXrWOTK", "pLNoOIdyO?aWFwiylZOko?nGQgLOfFpjjamJ?ZOidKAQBaPsZP", "_OfwmqBIzuUGT_FGjarcHaOIOh?QYpegvNHCrQsnmhIfYXfitl", "d?TLLLWsf?poYVHHrbDeMuQhMV_maaFmvxFXrBfaSWQQLYuJSF", "d?TLLLWsf?poYVHHrbDeMuQhMV_maaFmvxFXrBfaSWQQLYuJSF", "_OfwmqBIzuUGT_FGjarcHaOIOh?QYpegvNHCrQsnmhIfYXfitl"}
Returns: 128
{"KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "dBiWEtHmnDMKaVfogzKUPJhfEOLkjWmepFhenjaIXGHDRtZafc", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "miXcZJITWGgDlHOMfZagsPOjaCqPYhWKsGxwehYEzKFngjDFgI", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "KVrzETxqWwapJGrCXXV_AKdSUusinAqhURlwoMEDGGusLSFAyP", "miXcZJITWGgDlHOMfZagsPOjaCqPYhWKsGxwehYEzKFngjDFgI"}
Returns: 8
{"?ZbmnpaqlniqHnHm?JyMEPdXaQxzqUvtPdtmyutLoC_ryWfPlD", "?ZbmnpaqlniqHnHm?JyMEPdXaQxzqUvtPdtmyutLoC_ryWfPlD", "?ZbmnpaqlniqHnHm?JyMEPdXaQxzqUvtPdtmyutLoC_ryWfPlD", "pifRsVNPuchaOfkweLXBj_deFhqICbdusi_EwaNfCDhvEJXue_", "?ZbmnpaqlniqHnHm?JyMEPdXaQxzqUvtPdtmyutLoC_ryWfPlD", "qmjKUZYGtkZx?_cXgaCyfnZllURzzVGM_Vv_unxSTTgEhN?NdA", "_PUhIkUUjwWlyQFUFcJIrtWmQGibMKznoDaCtTLLWqJFr?uJOh", "_PUhIkUUjwWlyQFUFcJIrtWmQGibMKznoDaCtTLLWqJFr?uJOh", "_PUhIkUUjwWlyQFUFcJIrtWmQGibMKznoDaCtTLLWqJFr?uJOh", "?ZbmnpaqlniqHnHm?JyMEPdXaQxzqUvtPdtmyutLoC_ryWfPlD"}
Returns: 16
{"CUyBGcPoelfdXzgzpBjZOrfhssHzJwtmgMXvAQsBZqlaLOEXBt", "CUyBGcPoelfdXzgzpB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zETyicsMjxjuCQRrnyzkpzM", "wZnrdFvBEFGiSFwRIKZmIISDfYtzETyicsMjxjuCQRrnyzkpzM", "xGSlUruTLzRvPcpcDJNdktgRTq_seloJamPep?FY?BLMpenuCN", "wZnrdFvBEFGiSFwRIKZmIISDfYtzETyicsMjxjuCQRrnyzkpzM", "wZnrdFvBEFGiSFwRIKZmIISDfYtzETyicsMjxjuCQRrnyzkpzM", "VAHtQgKQQpvqVXHXziMcdPWoFCsbMwZkeT?DFRWxQRFKvPyJX?", "wIE?TeBpcRItoxExIR?TvMPTFDUN_UBRqBUYdYgfGqHdxUZgwB", "yL?zdDCh?xAsINKOrdhiCtlMtkNlXLJUddAbFrli_d?grXdCRA", "RRAueniDClFyuTVqZRrNocWgLBXGAwqaYpwzUixsvtOWEistiw"}
Returns: 64
{"OErdWsBqSReIWnAoKPzYZ_eiHSYIvExu_fXbWdihkhzZaGQ_pI", "OErdWsBqSReIWnAoKPzYZ_eiHSYIvExu_fXbWdihkhzZaGQ_pI", "OErdWsBqSReIWnAoKPzYZ_eiHSYIvExu_fXbWdihkhzZaGQ_pI", "kfatWwgRDcdVKUppXfRCvzQ?tGzEbKzgzPcOrVAFmZhdqncksJ", "OErdWsBqSReIWnAoKPzYZ_eiHSYIvExu_fXbWdihkhzZaGQ_pI", "OErdWsBqSReIWnAoKPzYZ_eiHSYIvExu_fXbWdihkhzZaGQ_pI", "kfatWwgRDcdVKUppXfRCvzQ?tGzEbKzgzPcOrVAFmZhdqncksJ", "kfatWwgRDcdVKUppXfRCvzQ?tGzEbKzgzPcOrVAFmZhdqncksJ", "kfatWwgRDcdVKUppXfRCvzQ?tGzEbKzgzPcOrVAFmZhdqncksJ", "nSYswkheBJQTsMomNF_ycyjtqfxkHNcQW_MUxiaMufUpOiOTQh"}
Returns: 8
{"k", "cJlhHzfzivKTyoTwqHGixVsDKHOrbzmDZcNpuvRlkfYUHdh", "welYgsCwGOwoToHqoWZNMBPaCso?G_kQNcLDUAEH", "XmyWTMDE_rGkgZVvvQkgJg_JdwJkAqNqICdfzZnDZpP_zM", "?uqZiKDyJwPErcdbTMYFcGegTyHmwtK_bmuQi", "RytPTaDzk_cJjAlXukjoUmVFGjt", "vU_YKmEgGc_PiLXgyqISPUluJZUOjcQAvyukADDh", "lEivF"}
Returns: 256
{"_uiAZFPajpBhIbSzI?ZZeSlWrrYjUsPzGzRinyk", "zwbbFXWRFDdeSnACJEyLYRifVbBtWiYVVazkWkXOEAbbBMXS", "HBSsAVvkZUYiGXxEVYhrOAmmisrhS", "xhGJwu_yc_nYXrHFIhcVHhaj_TroIYuYqrSdGokt_bcYxXw"}
Returns: 16
{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}
Returns: 1024
{"gfOUZkKUfOlsP", "H?wBFNcHFnoRi", "AlFRrw?UqiwnTNfNCKucbAhGfmb", "VDmEnJqzcZG_LLiQsHgtg", "kyCFnKYgpWtpZbNSizoBmDlpTLDzwWVlguImqtfoV"}
Returns: 32
{"gFGjcWFhHvfJYguFFKkFvRSruWXybYsfEXjLpuorRmiyDa", "lMuqTCGxVrgClCdZqzvKv"}
Returns: 4
{"oTUFTXpIyd_stLPd"}
Returns: 2
{"DtRfqmNkTywbIFWawxHQr_LKP"}
Returns: 2
{"afpFim?WPhB"}
Returns: 2
{"ObSrf_MYWPIP_VodszuwgRBskSFejNNfrSxDdCZvKBb_dBLwc", "EMS?QlTUyUn", "QlszHU", "tIEZScFt", "UilKoDNYMyqoALvej?eRpP?WJIaWkoeqfjZGvTnvCIEUINNGgw", "XcfaOafbb?OuQkurPKxeZr?ZFaOTcgclZ", "aVX"}
Returns: 128
{"pPcBG?DMHyIzrndZRHe", "ZpNNypAuckVCwQkhFhzfUGpGbQOpFsJwXHCuUsXXYTVzr", "k", "p", "sTTqdITJymkyUJHMSqB?HqPdClgtvkt", "EOVhTOwiE"}
Returns: 64
{"k", "k", "k", "k", "k", "k", "k", "k"}
Returns: 2
{"qHGixVsDKHOrbzmDZcNpuvRlkfY", "qHGixVsDKHOrbzmDZcNpuvRlkfY", "qHGixVsDKHOrbzmDZcNpuvRlkfY", "qHGixVsDKHOrbzmDZcNpuvRlkfY", "qHGixVsDKHOrbzmDZcNpuvRlkfY"}
Returns: 2
{"CwGOwoToHqoWZNMBPaCso?G_kQNcLDUAEHrBlXmyWTMDE_r"}
Returns: 2
{"vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY", "vvQkgJg_JdwJkAqNqICdfzZnDZpP_zMDmY"}
Returns: 2
{"GegTyHmwtK_bmuQiLJcRytPTaDz", "GegTyHmwtK_bmuQiLJcRytPTaDz", "GegTyHmwtK_bmuQiLJcRytPTaDz"}
Returns: 2
{"kjoUmVFGjtpHnvU"}
Returns: 2
{"gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC", "gGc_PiLXgyqISPUluJZUOjcQAvyukADDhaEmlEivFDVsC"}
Returns: 2
{"How_are_you_doing?", "How_do_you_like_our_country?", "How_are_you_doing?" }
Returns: 4
{"Are_you_ready?", "Are_you_ready?", "Are_you_ready?", "Are_you_ready?" }
Returns: 2
{"A", "A", "B", "C" }
Returns: 8
{"a", "b", "c", "d", "e", "f", "h" }
Returns: 128
{"Are_you_ready?", "Are_you_xeady?", "Are_you_raady?", "Are_you_ready?" }
Returns: 8
{"ABC", "BCD", "DEF", "def", "def", "asdf", "asgwb", "asdfvaweg", "asdf", "str" }
Returns: 256
{"ab", "cd", "ef" }
Returns: 8
{"a", "b", "c", "d", "e" }
Returns: 32
{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j" }
Returns: 1024
{"A", "B", "C" }
Returns: 8
{"How_do_you_like_our_country?", "How_are_you_doing?", "How_are_you_doing?" }
Returns: 4
{"a", "aa", "aaa", "aaaa", "aaaaa" }
Returns: 32
{"asd", "asdasd", "sdfgsd", "werwer", "sdfsdf" }
Returns: 32
{"hi", "hello", "hwd" }
Returns: 8
{"a", "A", "b" }
Returns: 8
{"my_quest?", "myyy_questtt?", "myMYmy?" }
Returns: 8
{"a", "a" }
Returns: 2
{"hello?", "sadfasdf?", "fsgsdfhg?" }
Returns: 8
{"Do_you_like_my_story?", "Do_you_like_my_story", "DO_YOU_LIKE_MY_STORY?", "Do__you__like__my__story?" }
Returns: 16
{"hello?", "fine?", "good?" }
Returns: 8
{"aa", "ab", "aa", "ab", "aa", "ab", "aa", "ab" }
Returns: 4
{"Are_you_ready?", "Are_you_ready?", "Are_you_ready?", "Are_you_ready?", "Do_you_like_my_story?", "Do_you_like_my_story?", "Do_you_like_my_story?" }
Returns: 4
{"Do_you_like_my_story?", "Do_you_like_my_story", "DO_YOU_LIKE_MY_STORY?", "Do__you__like__my__story?", "hello" }
Returns: 32
{"a", "b", "c" }
Returns: 8
{"A", "B", "A", "B", "A", "B", "A", "B" }
Returns: 4
{"troto", "troto", "troto" }
Returns: 2
{"Do_you_like_my_story?", "Do_you_like_my_story", "DO_YOU_LIKE_MY_STORY?", "Do__you__like__my__story?", "hogehoge" }
Returns: 32
{"A", "B", "A", "B", "C", "C", "d", "C", "A" }
Returns: 16
{"asdlkassd", "asdasdasd", "asdasdasd", "aaa", "aaa", "aaa", "aaa", "sdsdsdwe", "www", "www" }
Returns: 32
{"a", "b", "c", "d", "e", "f", "g", "h", "i", "d" }
Returns: 512
{"a?", "whatmatt?", "whatmatt?", "whatmatt?" }
Returns: 4
{"YY", "XX", "ZZ" }
Returns: 8
{"a", "a", "a", "a", "a", "b", "b", "b", "b", "b" }
Returns: 4
{"a", "a", "a", "b", "c" }
Returns: 8
{"nik", "har", "har", "har" }
Returns: 4
{"a", "b", "b", "b", "a" }
Returns: 4