7 kyu

Grid index

1,019 of 1,992topping

Description:

You are given an n by n ( square ) grid of characters, for example:

[['m', 'y', 'e'], 
 ['x', 'a', 'm'], 
 ['p', 'l', 'e']]

You are also given a list of integers as input, for example:

[1, 3, 5, 8]

You have to find the characters in these indexes of the grid if you think of the indexes as:

[[1, 2, 3], 
 [4, 5, 6], 
 [7, 8, 9]]

Remember that the indexes start from one and not zero.

Then you output a string like this:

"meal"

All inputs will be valid.

Lists
Fundamentals

Stats:

CreatedSep 8, 2020
PublishedSep 9, 2020
Warriors Trained2905
Total Skips30
Total Code Submissions4944
Total Times Completed1992
Python Completions1019
JavaScript Completions871
Haskell Completions45
Rust Completions118
Total Stars28
% of votes with a positive feedback rating92% of 374
Total "Very Satisfied" Votes323
Total "Somewhat Satisfied" Votes43
Total "Not Satisfied" Votes8
Total Rank Assessments29
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • topping Avatar
  • kazk Avatar
  • JohanWiltink Avatar
  • booniepepper Avatar
  • ozichukwu Avatar
  • username0 Avatar
Ad