Skip to content

Instantly share code, notes, and snippets.

View jo0707's full-sized avatar
:shipit:
guthib

Joshua Sinaga jo0707

:shipit:
guthib
View GitHub Profile
#include <iostream>
using namespace std;
struct Node {
int data;
Node* left;
Node* right;
};
// Membuat node baru
@jo0707
jo0707 / hash-modulus-RA.cpp
Created November 7, 2024 17:25
Berikut adalah contoh metode Hashing Modulus dan Collision Handling berupa Pengalamatan Rantai.
#include <iostream>
#include <cstdlib>
using namespace std;
#define Nil NULL
#define MaxEl 10
typedef int infotype;
@jo0707
jo0707 / PatternEditableBuilder.java
Created June 28, 2021 20:24 — forked from nesquena/PatternEditableBuilder.java
PatternEditableBuilder - Easy way to create colored clickable spans within a TextView!
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.TextPaint;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.view.View;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.regex.Matcher;