Skip to content

Instantly share code, notes, and snippets.

View EmmaG2's full-sized avatar
🍬
I'm going to upload things in python (or java)

Emma Granados EmmaG2

🍬
I'm going to upload things in python (or java)
View GitHub Profile
@EmmaG2
EmmaG2 / Lista.java
Last active July 6, 2022 00:13
Refactorización de la función, eliminarNodo()
public boolean eliminarNodo(int elem) {
if (estaVacia()) return false;
if (inicio == fin && elem == inicio.dato) {
inicio = fin = null;
return true;
}
if (elem == inicio.dato) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cursos gratis de programacion</title>
</head>
<body>
<section>