NillionNetwork/nada-by-example

Nth Largest Element of list/array

Aberta

#17 aberto em 14 de ago. de 2024

 (3 comentários) (0 reação) (0 responsável)Python (10 forks)auto 404
enhancementgood first issuehacktoberfesthelp wanted

Métricas do repositório

Stars
 (11 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Request a New Nada Example

Find Nth largest element in list.

Description

Write a Nada program to find the nth largest (or smallest) element in size from a list or array.

optional: extended into multiple dimensions with custom comparators.

Use Case

Describe the use case for this example. Why is it important? How will it benefit other users?

Specific Requirements

  • Inputs: A list/array of SecretIntegers and the n.
  • Outputs: The nth largest (or smallest) value of the list.

Guia do colaborador