LINKS
Author: Nazmul Alam
Extract information from a given website print the result.
Your hacker friend made a website and hid some secret phrases in it. The website's landing page looks like this:
The link (flhxd) goes to another page of links, and each link leads to another page containing one or more links and/or a secret phrase.
Given the link to Website.an you find all the secret phrases hidden there and sort them in alphabetical order?
Website link: https://goo.gl/9729Fn
Input Format
Open The Website. Each page of the website contains one or more links and/or a secret phrase in the following format:
Secret Phrase: XXXX
where XXXX
denotes a secret phrase.
Note: Do not read any input from STDIN for this challenge.
Output Format
Print the secret phrases as condition given below:
The phrases must be in alphabetical order (i.e., A
Z
a
z
) with one phrase on each line. For example, the first few lines of output might look like this:
HackerRankdcnosaeihfouswtcongrats HackerRankezjuxfjjlirzubacongrats HackerRankhoamxofndzcfeltcongrats ... [more lines of alphabetically-ordered secret phrases]
Language | Time | Memory |
GNU C 11 | 1s | 512MB |
GNU C++ 14 | 1s | 512MB |
GNU C++ 11 | 1s | 512MB |