7 kyu

Identical Elements

1,218 of 2,689ArtOfCode

Description:

Given two arrays of integers m and n, test if they contain at least one identical element. Return true if they do; false if not.

Your code must handle any value within the range of a 32-bit integer, and must be capable of handling either array being empty (which is a false result, as there are no duplicated elements).

Arrays
Fundamentals

Similar Kata:

More By Author:

Check out these other kata created by ArtOfCode

Stats:

CreatedNov 30, 2016
PublishedNov 30, 2016
Warriors Trained3454
Total Skips42
Total Code Submissions8080
Total Times Completed2689
Python Completions1218
Ruby Completions198
JavaScript Completions1265
C Completions67
Haskell Completions44
COBOL Completions5
Total Stars20
% of votes with a positive feedback rating91% of 476
Total "Very Satisfied" Votes404
Total "Somewhat Satisfied" Votes59
Total "Not Satisfied" Votes13
Total Rank Assessments8
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • ArtOfCode Avatar
  • raulbc777 Avatar
  • suic Avatar
  • JohanWiltink Avatar
  • rowcased Avatar
  • FArekkusu Avatar
  • akar-0 Avatar
  • Wei-Ting Yang Avatar
Ad