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.
Although the problem states "We can call an attribute by referencing the tag, followed by a tilde, '~' and the name of the attribute", there are queries without tilde (~) (test case #4, #5). So be careful when parsing your queries. I think the author should describe the problem more clear.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Attribute Parser
You are viewing a single comment's thread. Return to all comments →
Although the problem states "We can call an attribute by referencing the tag, followed by a tilde, '~' and the name of the attribute", there are queries without tilde (~) (test case #4, #5). So be careful when parsing your queries. I think the author should describe the problem more clear.