We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The Test Case 2 seems to be broken. The third character in the line is a dash while the expected result seems to be an empty line? Look:
C.B - Cantonment Board/Cantonment
C.M.C – City Municipal Council
C.T – Census Town
E.O – Estate Office
G.P - Gram Panchayat
I.N.A – Industrial Notified Area
I.T.S - Industrial Township
M – Municipality
M.B – Municipal Board
M.C – Municipal Committee
Expected Output
B
M
T
O
P
N
T
B
C
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Cut #1
You are viewing a single comment's thread. Return to all comments →
The Test Case 2 seems to be broken. The third character in the line is a dash while the expected result seems to be an empty line? Look:
C.B - Cantonment Board/Cantonment C.M.C – City Municipal Council C.T – Census Town E.O – Estate Office G.P - Gram Panchayat I.N.A – Industrial Notified Area I.T.S - Industrial Township M – Municipality M.B – Municipal Board M.C – Municipal Committee
Expected Output B M T O P N T B C