Hi, i have a nested list and from this list in want to find unique tuples only. For example, in the following list only the unique tuples having larger values will stay and other will be discarded.
list 1:
[
a: [
b: [
c: [
{:d, "id_1", 2},
{:d, "id_1", 1},
{:d, "id_2", 1},
{:d, "id_3", 1}
]
c: [
{:d, "id_3", 2},
{:d, "id_3", 5}
]]]]
final output:
[
a: [
b: [
c: [
{:d, "id_1", 2},
{:d, "id_2", 1},
{:d, "id_3", 1}
]
c: [
{:d, "id_3", 5}
]]]]