8 kyu

You only need one - Beginner

62,520 of 154,098PG1

Description:

You will be given an array a and a value x. All you need to do is check whether the provided array contains the value.

a can contain numbers or strings. x can be either.

Return true if the array contains the value, false if not.

Fundamentals
Strings
Arrays

Similar Kata:

More By Author:

Check out these other kata created by PG1

Stats:

CreatedSep 4, 2016
PublishedSep 4, 2016
Warriors Trained198804
Total Skips12000
Total Code Submissions280636
Total Times Completed154098
JavaScript Completions62520
C# Completions7071
Python Completions52988
Ruby Completions3299
Crystal Completions52
PHP Completions3553
Haskell Completions903
Scala Completions763
Swift Completions3048
Java Completions13165
CoffeeScript Completions43
Racket Completions75
Factor Completions27
Julia Completions86
TypeScript Completions2185
R Completions257
Lua Completions221
C++ Completions7061
CFML Completions1
Total Stars751
% of votes with a positive feedback rating91% of 9753
Total "Very Satisfied" Votes8238
Total "Somewhat Satisfied" Votes1287
Total "Not Satisfied" Votes228
Total Rank Assessments162
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • PG1 Avatar
  • vertighel Avatar
  • GiacomoSorbi Avatar
  • suic Avatar
  • andreapt82 Avatar
  • Chrono79 Avatar
  • user5036852 Avatar
  • Blind4Basics Avatar
  • mitron6 Avatar
  • ZED.CWT Avatar
  • user9644768 Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • JOLee83 Avatar
  • f0rg0t Avatar
  • PeteAniDev Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
  • user2058606 Avatar
  • fcr-- Avatar
  • KayleighWasTaken Avatar
Ad