Dataset Viewer
Auto-converted to Parquet Duplicate
inputs
stringlengths
222
538
targets
stringlengths
2
14
_template_idx
int64
0
9
_task_source
stringclasses
1 value
_task_name
stringclasses
1 value
_template_type
stringclasses
2 values
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example solution: 111 Example explanation: 111 is the 15th largest element in the li...
Solution: 149
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Input: Consider Input: [266, 187, 217, 296, 23, 185, 263, 136, 138, 15, 167, 82, 134, 183, 273, 14, 97, 133, 190, 84], k=20 Output: 14 Input: Consider Input: [52, 203, 258, 170, 201, 122, 166...
Output: 120
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [266, 187, 217, 296, 23, 185, 263, 136, 138, 15, 167, 82, 134, 183, 273, 14, 97, 133, 190, 84], k=20 Answer: 14 Question: [203, 69, 186, 280, 93, 245, 223, 80, 170, 210, 106...
75
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [213, 158, 296, 17, 126, 62, 257, 15, 154, 81, 151, 193, 127, 102, 12, 186, 31, 199, 50, 39], k=2 [A]: 257 [Q]: [26, 136, 97, 185, 168, 152, 171, 299, 118, 47, 130, 250, 243, 64, 241, 219...
254
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [116, 12, 165, 292, 179, 45, 74, 109, 207, 58, 293, 134, 112, 62, 70, 234, 41, 11, 201, 26], k=8 A: 134 **** Q: [291, 17, 170, 81, 64, 29, 211, 10, 182, 107, 12, 275, 262, 149, 151, 280, 132...
115 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [72, 258, 46, 125, 104, 92, 48, 73, 174, 94, 229, 143, 193, 244, 39, 100, 271, 295, 47, 64], k=12 94 [208, 53, 169, 207, 15, 137, 291, 217, 269, 100, 121, 174, 297, 124, 34, 81, 56, 149, 66, 19...
94
0
NIv2
task1194_kth_largest_element
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Output:...
291
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [291, 17, 170, 81, 64, 29, 211, 10, 182, 107, 12, 275, 262, 149, 151, 280, 132, 130, 177, 281], k=1 Answer: 291 Question: [276, 188, 261, 277, 93, 230, 233, 22, 212, 97, 204...
172
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [34, 138, 133, 246, 122, 168, 258, 234, 45, 271, 280, 169, 257, 81, 154, 98, 290, 77, 216, 161], k=14 A: 133 **** Q: [200, 50, 36, 91, 67, 124, 247, 137, 64, 34, 222, 44, 138, 237, 21, 159, ...
54 ****
4
NIv2
task1194_kth_largest_element
fs_opt
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. See one example below: Problem: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution: 111 Explanation: 111 is the ...
184
4
NIv2
task1194_kth_largest_element
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 15...
109
0
NIv2
task1194_kth_largest_element
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Output:...
146
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example Input: [34, 138, 133, 246, 122, 168, 258, 234, 45, 271, 280, 169, 257, 81, 154, 98, 290, 77, 216, 161], k=14 Example Output: 133 Example Input: [211, 170, 62, 226, 153, 238, 16, 158, 20...
146
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [EX Q]: [276, 188, 261, 277, 93, 230, 233, 22, 212, 97, 204, 40, 21, 226, 162, 157, 89, 216, 284, 271], k=2 [EX A]: 277 [EX Q]: [89, 86, 160, 165, 68, 82, 114, 142, 287, 73, 177, 205, 252, 122,...
256
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [194, 39, 151, 113, 173, 176, 284, 76, 274, 162, 65, 262, 188, 54, 154, 36, 105, 201, 191, 226], k=20 A: 36 **** Q: [175, 93, 118, 125, 97, 208, 117, 252, 254, 104, 229, 275, 10, 256, 202, 1...
147 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [EX Q]: [116, 12, 165, 292, 179, 45, 74, 109, 207, 58, 293, 134, 112, 62, 70, 234, 41, 11, 201, 26], k=8 [EX A]: 134 [EX Q]: [58, 242, 120, 111, 282, 148, 69, 182, 39, 251, 101, 36, 212, 294, 2...
243
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example Input: [183, 36, 88, 201, 229, 26, 21, 182, 12, 197, 148, 117, 213, 261, 86, 97, 82, 57, 129, 276], k=12 Example Output: 97 Example Input: [102, 292, 198, 213, 21, 181, 274, 188, 127, 2...
166
3
NIv2
task1194_kth_largest_element
fs_opt
instruction: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. question: [127, 150, 271, 167, 241, 211, 97, 74, 248, 131, 147, 116, 258, 81, 185, 65, 73, 118, 285, 266], k=5 answer: 248 question: [229, 42, 38, 120, 33, 204, 150, 227, 268, 14, ...
64
9
NIv2
task1194_kth_largest_element
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Output:...
28
1
NIv2
task1194_kth_largest_element
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 15...
255
0
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [46, 244, 271, 123, 66, 208, 130, 175, 31, 116, 246, 169, 206, 188, 209, 267, 202, 56, 63, 129], k=18 A: 56 **** Q: [284, 31, 125, 275, 106, 174, 61, 164, 21, 184, 90, 226, 188, 285, 81, 104...
255 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [267, 175, 73, 279, 67, 288, 221, 86, 275, 24, 87, 257, 112, 265, 16, 76, 101, 130, 297, 53], k=1 Answer: 297 Question: [66, 115, 22, 184, 132, 94, 272, 34, 257, 59, 117, 25...
35
7
NIv2
task1194_kth_largest_element
fs_opt
Given the task definition, example input & output, solve the new input case. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Output:...
195
1
NIv2
task1194_kth_largest_element
fs_opt
instruction: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. question: [127, 150, 271, 167, 241, 211, 97, 74, 248, 131, 147, 116, 258, 81, 185, 65, 73, 118, 285, 266], k=5 answer: 248 question: [171, 73, 239, 246, 40, 240, 262, 77, 244, 131,...
14
9
NIv2
task1194_kth_largest_element
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 15...
40
0
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
236
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [211, 170, 62, 226, 153, 238, 16, 158, 205, 142, 24, 221, 112, 89, 148, 159, 121, 296, 147, 118], k=3 Answer: 226 Question: [110, 261, 22, 294, 94, 275, 282, 201, 185, 24, 2...
167
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Ex Input: [96, 236, 17, 279, 218, 255, 222, 18, 91, 99, 85, 105, 108, 133, 284, 245, 58, 139, 215, 221], k=2 Ex Output: 279 Ex Input: [61, 191, 28, 285, 59, 145, 223, 266, 225, 274, 154, 203,...
20
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
227
6
NIv2
task1194_kth_largest_element
fs_opt
Teacher: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Teacher: Now, understand the problem? If you are still confused, see the following example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132...
74
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
211
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [61, 191, 28, 285, 59, 145, 223, 266, 225, 274, 154, 203, 193, 12, 227, 188, 137, 69, 211, 11], k=4 227 [232, 117, 292, 139, 178, 294, 256, 296, 50, 102, 28, 15, 34, 148, 159, 276, 25, 188, 287...
211
0
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
252
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Input: Consider Input: [197, 68, 172, 228, 281, 221, 19, 125, 98, 244, 186, 272, 129, 237, 100, 26, 215, 223, 168, 60], k=13 Output: 129 Input: Consider Input: [16, 10, 255, 45, 203, 197, 168...
Output: 144
2
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
49
7
NIv2
task1194_kth_largest_element
fs_opt
instruction: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. question: [287, 125, 243, 144, 189, 12, 284, 91, 294, 51, 52, 19, 281, 166, 192, 269, 199, 18, 61, 180], k=14 answer: 91 question: [200, 50, 36, 91, 67, 124, 247, 137, 64, 34, 222,...
49
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
144
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
256
8
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example Input: [171, 245, 34, 30, 15, 235, 263, 222, 250, 145, 268, 221, 94, 189, 279, 142, 248, 10, 274, 188], k=14 Example Output: 145 Example Input: [25, 94, 191, 176, 47, 284, 230, 285, 163...
135
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [184, 211, 40, 149, 188, 279, 227, 63, 288, 198, 33, 79, 101, 213, 129, 122, 32, 49, 216, 148], k=5 Answer: 213 Question: [183, 214, 202, 269, 104, 166, 12, 209, 194, 275, 6...
57
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
213
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example is below. Q: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 A: 111 Rationale: 111 is the 15th largest element in the list. Q: [2...
114
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example Input: [123, 211, 127, 208, 168, 49, 92, 199, 254, 16, 154, 244, 187, 103, 73, 44, 64, 41, 231, 82], k=16 Example Output: 64 Example Input: [175, 129, 86, 215, 223, 274, 87, 50, 34, 35,...
114
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
94
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [296, 189, 200, 89, 286, 140, 184, 267, 273, 58, 117, 75, 158, 94, 176, 266, 248, 52, 147, 163], k=10 A: 176 **** Q: [208, 53, 169, 207, 15, 137, 291, 217, 269, 100, 121, 174, 297, 124, 34, ...
94 ****
4
NIv2
task1194_kth_largest_element
fs_opt
TASK DEFINITION: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. PROBLEM: [117, 111, 32, 168, 159, 186, 252, 75, 288, 72, 96, 239, 175, 109, 296, 298, 207, 94, 40, 173], k=14 SOLUTION: 109 PROBLEM: [30, 172, 203, 140, 208, 163, 42, 212, 178,...
270
8
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
119
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [EX Q]: [124, 220, 271, 232, 145, 64, 276, 95, 17, 278, 57, 14, 128, 120, 122, 243, 138, 292, 242, 75], k=17 [EX A]: 64 [EX Q]: [279, 274, 55, 280, 63, 76, 193, 166, 64, 267, 45, 114, 155, 248,...
212
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [76, 45, 281, 210, 239, 261, 93, 73, 16, 198, 46, 59, 141, 269, 80, 164, 290, 117, 111, 62], k=13 [A]: 80 [Q]: [70, 141, 240, 15, 156, 178, 52, 187, 149, 260, 209, 182, 120, 53, 173, 185,...
238
5
NIv2
task1194_kth_largest_element
fs_opt
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. See one example below: Problem: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution: 111 Explanation: 111 is the ...
166
4
NIv2
task1194_kth_largest_element
fs_opt
Teacher: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Teacher: Now, understand the problem? If you are still confused, see the following example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132...
40
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Ex Input: [184, 211, 40, 149, 188, 279, 227, 63, 288, 198, 33, 79, 101, 213, 129, 122, 32, 49, 216, 148], k=5 Ex Output: 213 Ex Input: [104, 179, 28, 80, 243, 289, 122, 46, 292, 168, 258, 82,...
95
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
296
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
282
8
NIv2
task1194_kth_largest_element
fs_opt
Teacher: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Teacher: Now, understand the problem? If you are still confused, see the following example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132...
90
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example is below. Q: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 A: 111 Rationale: 111 is the 15th largest element in the list. Q: [1...
23
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [102, 292, 198, 213, 21, 181, 274, 188, 127, 241, 66, 242, 291, 164, 95, 268, 212, 290, 262, 17], k=20 17 [95, 19, 128, 226, 34, 281, 277, 298, 229, 90, 155, 256, 221, 158, 43, 84, 180, 156, 18...
90
0
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. -------- Question: [282, 291, 242, 260, 151, 49, 92, 210, 137, 205, 46, 272, 164, 131, 155, 221, 286, 106, 68, 36], k=3 Answer: 282 Question: [145, 161, 63, 107, 188, 156, 193, 237, 166, 218, ...
23
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
120
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
75
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
254
6
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
244
7
NIv2
task1194_kth_largest_element
fs_opt
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. See one example below: Problem: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution: 111 Explanation: 111 is the ...
50
4
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
115
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [51, 228, 298, 227, 49, 137, 197, 222, 280, 117, 69, 53, 299, 196, 179, 169, 54, 42, 147, 95], k=14 95 [216, 267, 28, 235, 47, 167, 70, 198, 120, 125, 159, 230, 249, 256, 58, 246, 175, 54, 204,...
177
0
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [109, 71, 25, 182, 65, 202, 184, 161, 272, 286, 299, 156, 194, 150, 129, 230, 266, 283, 297, 252], k=14 [A]: 156 [Q]: [50, 268, 232, 285, 279, 215, 244, 45, 141, 102, 14, 43, 82, 170, 41,...
199
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [183, 241, 41, 65, 87, 212, 263, 268, 46, 107, 230, 154, 192, 238, 177, 148, 24, 267, 262, 174], k=2 [A]: 267 [Q]: [280, 23, 88, 84, 198, 115, 56, 237, 68, 104, 245, 22, 39, 58, 61, 257, ...
190
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [25, 94, 191, 176, 47, 284, 230, 285, 163, 198, 196, 145, 237, 221, 51, 13, 296, 86, 38, 243], k=4 [A]: 243 [Q]: [76, 45, 281, 210, 239, 261, 93, 73, 16, 198, 46, 59, 141, 269, 80, 164, 2...
166
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [108, 101, 147, 157, 189, 216, 282, 132, 60, 46, 14, 25, 109, 43, 82, 255, 19, 128, 11, 182], k=1 A: 282 **** Q: [96, 236, 17, 279, 218, 255, 222, 18, 91, 99, 85, 105, 108, 133, 284, 245, 58...
181 ****
4
NIv2
task1194_kth_largest_element
fs_opt
TASK DEFINITION: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. PROBLEM: [203, 69, 186, 280, 93, 245, 223, 80, 170, 210, 106, 172, 121, 263, 159, 131, 162, 276, 213, 232], k=9 SOLUTION: 203 PROBLEM: [26, 136, 97, 185, 168, 152, 171, 299, 11...
147
8
NIv2
task1194_kth_largest_element
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 15...
171
0
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
190
8
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example is below. Q: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 A: 111 Rationale: 111 is the 15th largest element in the list. Q: [1...
175
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
36
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Ex Input: [146, 158, 48, 138, 28, 209, 160, 31, 195, 297, 204, 248, 95, 275, 175, 259, 62, 290, 237, 180], k=12 Ex Output: 160 Ex Input: [197, 267, 176, 34, 31, 80, 299, 184, 122, 226, 266, 7...
175
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
274
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [109, 232, 132, 118, 143, 127, 173, 299, 133, 110, 63, 53, 207, 12, 204, 256, 72, 176, 224, 99], k=15 A: 109 **** Q: [128, 167, 245, 98, 122, 266, 209, 81, 116, 294, 43, 92, 12, 201, 89, 277...
183 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example is below. Q: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 A: 111 Rationale: 111 is the 15th largest element in the list. Q: [1...
101
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [182, 188, 253, 98, 42, 219, 177, 274, 214, 272, 137, 94, 31, 113, 119, 75, 197, 63, 293, 65], k=1 [A]: 293 [Q]: [103, 127, 66, 209, 79, 95, 258, 162, 23, 93, 139, 128, 239, 27, 71, 68, 1...
101
5
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [229, 42, 38, 120, 33, 204, 150, 227, 268, 14, 45, 132, 220, 181, 233, 115, 121, 245, 180, 111], k=20 A: 14 **** Q: [172, 135, 164, 185, 79, 94, 121, 52, 85, 245, 288, 75, 44, 36, 293, 198, ...
48 ****
4
NIv2
task1194_kth_largest_element
fs_opt
Teacher: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Teacher: Now, understand the problem? If you are still confused, see the following example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132...
12
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Input: Consider Input: [55, 259, 84, 222, 28, 10, 197, 81, 214, 215, 273, 180, 256, 91, 242, 211, 103, 166, 247, 95], k=14 Output: 95 Input: Consider Input: [10, 285, 166, 116, 234, 12, 25, 2...
Output: 28
2
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
99
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Ex Input: [111, 105, 27, 188, 147, 106, 289, 104, 117, 263, 140, 62, 108, 14, 88, 261, 226, 269, 112, 31], k=7 Ex Output: 147 Ex Input: [119, 81, 142, 240, 37, 46, 178, 110, 36, 53, 173, 161,...
297
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
203
8
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. One example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution is here: 111 Explanation: 111 is the 15th largest element in the list. ...
129
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
280
8
NIv2
task1194_kth_largest_element
fs_opt
instruction: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. question: [100, 154, 127, 273, 78, 40, 163, 203, 252, 155, 216, 108, 205, 257, 156, 20, 178, 266, 145, 107], k=7 answer: 203 question: [113, 252, 12, 81, 173, 97, 258, 33, 224, 120...
280
9
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [208, 225, 278, 177, 33, 240, 267, 68, 166, 91, 196, 13, 237, 216, 29, 294, 39, 281, 201, 297], k=14 A: 166 **** Q: [203, 69, 186, 280, 93, 245, 223, 80, 170, 210, 106, 172, 121, 263, 159, 1...
17 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [EX Q]: [154, 185, 180, 217, 200, 49, 133, 203, 10, 250, 256, 289, 69, 260, 186, 149, 244, 271, 225, 178], k=2 [EX A]: 271 [EX Q]: [231, 186, 259, 217, 158, 138, 145, 76, 131, 220, 129, 187, 47...
114
6
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Q: [175, 93, 118, 125, 97, 208, 117, 252, 254, 104, 229, 275, 10, 256, 202, 139, 103, 283, 219, 25], k=10 A: 175 **** Q: [202, 81, 91, 150, 255, 227, 95, 48, 128, 254, 117, 228, 183, 61, 243, 2...
19 ****
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Input: Consider Input: [116, 12, 165, 292, 179, 45, 74, 109, 207, 58, 293, 134, 112, 62, 70, 234, 41, 11, 201, 26], k=8 Output: 134 Input: Consider Input: [128, 167, 245, 98, 122, 266, 209, 8...
Output: 209
2
NIv2
task1194_kth_largest_element
fs_opt
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. See one example below: Problem: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Solution: 111 Explanation: 111 is the ...
233
4
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Ex Input: [245, 71, 125, 49, 16, 123, 263, 12, 151, 30, 57, 297, 193, 17, 244, 40, 195, 248, 78, 229], k=14 Ex Output: 57 Ex Input: [165, 280, 217, 159, 81, 109, 12, 42, 16, 290, 209, 133, 11...
233
1
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. [Q]: [156, 11, 295, 47, 230, 49, 109, 267, 121, 169, 128, 124, 216, 220, 237, 24, 224, 105, 35, 22], k=7 [A]: 216 [Q]: [72, 258, 46, 125, 104, 92, 48, 73, 174, 94, 229, 143, 193, 244, 39, 100,...
99
5
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
14
7
NIv2
task1194_kth_largest_element
fs_opt
Part 1. Definition In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Part 2. Example [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Answer: 111 Explanation: 111 is the 15th largest element i...
97
7
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Let me give you an example: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 The answer to this example can be: 111 Here is why: 111 is the 1...
256
8
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
52
3
NIv2
task1194_kth_largest_element
fs_opt
In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Example input: [128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15 Example output: 111 Example explanation: 111 is the 15th largest element in t...
279
3
NIv2
task1194_kth_largest_element
fs_opt
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
2