### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Challenges

# Posts tagged array-manipulation

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

5 posts
81%
+7 −0

Task I often need to find the factorial of a number or the sum of all numbers up to a number when cheating on math tests. To help me with this, your task is to write $F$, a generalized version of ...

14 answers  ·  posted 1y ago by user‭  ·  last activity 6mo ago by gifti‭

84%
+9 −0

Challenge Given a list of unique colour names as input, sort them in the order that they first appear in Joseph's Amazing Technicolour Dreamcoat. Example Input: green, blue, red, brown Outpu...

6 answers  ·  posted 1y ago by Shaggy‭  ·  last activity 1y ago by radarek‭

81%
+7 −0

Jelly has an atom called untruth, which when given indices, creates an array with 1s at those places: [2,4] → [0,1,0,1]. You are required to perform the inverse of this. Given a 2D boolean array, ...

10 answers  ·  posted 2y ago by Razetime‭  ·  last activity 1y ago by General Sebast1an‭

60%
+1 −0

Challenge Create a program that takes input of a string and outputs an integer using the following calculation system: The string can only contain +, -, *, /, ^, ! (or a different character; ! ...

1 answer  ·  posted 1y ago by General Sebast1an‭  ·  edited 1y ago by General Sebast1an‭

77%
+5 −0

Idea shamelessly stolen from caird and rak1507 Shuffle a subset of a list of unique, positive integers with uniform randomness, given the indices of that subset. For example, given the list \$[A, B...

4 answers  ·  posted 1y ago by user‭  ·  edited 1y ago by General Sebast1an‭

Featured
Hot Posts

This community is part of the Codidact network. We have other communities too — take a look!