Skip to content

Instantly share code, notes, and snippets.

View MrKomodoDragon's full-sized avatar
😀
Enjoying Life

MrKomodoDragon MrKomodoDragon

😀
Enjoying Life
  • 127.0.0.1
  • 15:22 (UTC -08:00)
View GitHub Profile
@MrKomodoDragon
MrKomodoDragon / Array.java
Created September 30, 2025 19:52
Array with syntax highlighting
public class Array<E> {
public Unit[] arr;
public int size;
private int last_inserted = -1;
private class Unit<E> {
public E data;
Unit(E thing) {
this.data = thing;
}
@MrKomodoDragon
MrKomodoDragon / DynamicArray,java
Created September 30, 2025 19:51
A stupid dynamic array,
public class Array<E> {
public Unit[] arr;
public int size;
private int last_inserted = -1;
private class Unit<E> {
public E data;
Unit(E thing) {
this.data = thing;
}