10-1
Coding Type Question
Alternating Code
It is IPL Season and the first league match of Dhilip's favorite team, Chennai Super Kings. The CSK team is playing at the PL 2
years and like all Dhoni lovers, Dhilip is also eagerly awaiting to see Dhoni back in action.
After waiting in long queues, Dhilip succeeded in getting the tickets for the big match. On the ticket there is a learende at can be
represented as a string of upper-case Latin letters.
Dhilip believes that the CSK Team will win the match in case exactly two different letters in the code atenate Otherwise be believes
that the team might lose. Please see note section for formal definition of alternating code.
You are given a ticket code. Please determine whether CSK Team will win the match or not based on Dhilio spanion Printe r
"NO" (without quotes) corresponding to the situation.
Note:
Two letters x, y where x != y are said to be alternating in a code, if coole is of formyyy_
Answers
Answered by
1
Answer:
എന്തുകൊണ്ടാണ് ഇത് വളരെ വിചിത്രമായിരിക്കുന്നത്?
വരാനിരിക്കുന്ന പരിശോധനയിൽ മികച്ചത് ചെയ്യുക.
നിങ്ങൾക്ക് ഒരു സ്പൂൺ ഭക്ഷണം നൽകാൻ ഞാൻ അവിടെ ഉണ്ടാവില്ല.
Explanation:
Similar questions