8 kyu

Multiple of index

7,118 of 23,860Dmitry Kudla

Description:

Return a new array consisting of elements which are multiple of their own index in input array (length > 1).

Some cases:

[22, -6, 32, 82, 9, 25] =>  [-6, 32, 25]

[68, -1, 1, -7, 10, 10] => [-1, 10]

[-56,-85,72,-26,-14,76,-27,72,35,-21,-67,87,0,21,59,27,-92,68] => [-85, 72, 0, 68]
Fundamentals
Arrays

Stats:

CreatedDec 16, 2017
PublishedDec 16, 2017
Warriors Trained35983
Total Skips2559
Total Code Submissions65420
Total Times Completed23860
JavaScript Completions10861
Haskell Completions302
Ruby Completions572
Python Completions7118
Go Completions2143
C# Completions1134
Java Completions1898
CoffeeScript Completions17
Crystal Completions13
Julia Completions41
TypeScript Completions395
PHP Completions262
Scala Completions27
Total Stars280
% of votes with a positive feedback rating92% of 2950
Total "Very Satisfied" Votes2540
Total "Somewhat Satisfied" Votes331
Total "Not Satisfied" Votes79
Total Rank Assessments3
Average Assessed Rank
8 kyu
Highest Assessed Rank
8 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Dmitry Kudla Avatar
  • smile67 Avatar
  • JohanWiltink Avatar
  • asedov Avatar
  • michellescripts Avatar
  • Voile Avatar
  • Madjosz Avatar
  • Souzooka Avatar
  • KenKamau Avatar
  • ZywOo Avatar
  • ejini战神 Avatar
  • farhanaditya Avatar
  • MingLeeNg Avatar
  • KayleighWasTaken Avatar
Ad