<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/8165dfce6ace4868a6311b1725072ba6&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/8165dfce6ace4868a6311b1725072ba6-df54f4d5284f449b.gif</thumbnail_url><duration>214.21</duration><title>Promedio real eliminando valores atípicos</title><description>Hola, buenas tardes, soy John Alexandre Lin y en este video presento la solución del reto 25. El reto consiste en calcular el promedio real de un contenedor de un maratón eliminando los valores atípicos, los outliers. Utilicé Kotlin con una lista mutable tipo multiList, y trabajé con decimales como 110.0 para que el promedio sea más preciso. Con los comandos .sort, .subList y average, ordeno de menor a mayor y creo una sublista que ignora el primer y el último elemento para que el cálculo no se afecte. Al final muestro el promedio sin outliers y funciona correctamente.</description></oembed>