7 kyu
Consecutive items
2,896 of 7,534LogicalX
Description:
You are given a list of unique integers arr
, and two integers a
and b
. Your task is to find out whether or not a
and b
appear consecutively in arr
, and return a boolean value (True
if a
and b
are consecutive, False
otherwise).
It is guaranteed that a
and b
are both present in arr
.
Fundamentals
Similar Kata:
Stats:
Created | Sep 25, 2020 |
Published | Sep 25, 2020 |
Warriors Trained | 10633 |
Total Skips | 194 |
Total Code Submissions | 21586 |
Total Times Completed | 7534 |
Python Completions | 2896 |
C Completions | 313 |
JavaScript Completions | 3294 |
Haskell Completions | 93 |
C# Completions | 412 |
Clojure Completions | 40 |
Ruby Completions | 183 |
C++ Completions | 565 |
COBOL Completions | 9 |
λ Calculus Completions | 8 |
Total Stars | 70 |
% of votes with a positive feedback rating | 93% of 1047 |
Total "Very Satisfied" Votes | 918 |
Total "Somewhat Satisfied" Votes | 107 |
Total "Not Satisfied" Votes | 22 |
Total Rank Assessments | 55 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |