Recently, a coding challenge was shared on Dev.to by Mohammad S. Anwar, titled "Similar Boomerang". The challenge consists of two weekly tasks that require solutions in Python and Perl. For the first task, participants need to write a script to count the number of dominoes that are similar to any other domino. A set of dominos is considered similar if either both numbers match or they are opposite. For the second task, individuals must find out if given points form a boomerang. A boomerang is defined as three distinct points that do not lie on a straight line.
Discussion
No replies yet.