Tensara Logo

tensara

Array Sorting

EASY

Sort an array of integers in ascending order.

Input:

  • Array aa of integers of size nn

Output:

  • The same array aa sorted in ascending order stored in bb

Notes:

  • The input array aa is stored in row-major order in memory

GPU Type

Language

Data Type

Loading...

Loading editor...

CUDA C++ environment

Sample Run Results

Hit "Run" to test your code with sample inputs

Desktop Required for Code Submission

For the best coding experience, please switch to a desktop device to write and submit your solution.