The two questions are intended to be short and simple that you can implement each in half-an-hour.
The criteria for evaluation are
- Efficiency of the code
- Documentation and formatting
- Separation of concerns
- A general taste in programming :)
Please write this either in Python or in Javascript(executable via NodeJS). Submit this answer as public Github gist.
There are 3 zip files hosted at http://staging.imgtranslate.com:9999/ with names a.zip
b.zip
and c.zip
.
They each contain text files with sentences on new lines.
You are required to write a program that:
- Downloads them
- Unzips them
- Compares the sentences of each file with others
- Only prints pairs of files that contain duplicate sentences
Please write this using Javascript (any framework is ok. Plain JS is also ok). Submit this answer as a public pen on CodePen.
Make a box on a webpage and implement the DVD bouncing logo as seen in this video. https://www.youtube.com/watch?v=Kxms-OtUXS0
Please don't Google for implementations. If you can find them, so can we. It's not that hard to implement. Give it a shot. :)
If you have any questions, please ask below.
For obvious reasons, do not post your solutions here. Please send
gist
andpen
links in Internshala chat.