Retired
Merge 2 sorted iterators (retired)
Description:
Given 2 Iterator
objects of sorted collections produce sorted List
with combined contents. Original sources are sorted with a Comparator
object that is also given.
Constraints
- original sources are sorted in ascending order
- original sources can be of different size
- any of original sources may be empty (
Iterator
may immediately return false on.hasNext()
call) - original sources have max of
10000
elements - all elements are not
null
Lists
Sorting
Iterators
Similar Kata:
Stats:
Created | Feb 22, 2023 |
Warriors Trained | 11 |
Total Skips | 0 |
Total Code Submissions | 12 |
Total Times Completed | 8 |
Java Completions | 8 |
Total Stars | 0 |
% of votes with a positive feedback rating | 33% of 6 |
Total "Very Satisfied" Votes | 1 |
Total "Somewhat Satisfied" Votes | 2 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 7 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |