NillionNetwork/nada-by-example

Nth Largest Element of list/array

オープン

#17 opened on 2024/08/14

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Python (10 件のフォーク)auto 404
enhancementgood first issuehacktoberfesthelp wanted

Repository metrics

Stars
 (11 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド