# Double Pointers public class TrappingRainWater { public static int trap(int[] height) { if (height == null || height.length == […]
Linked List Print
public class LinkedListPrint { // Node class representing each element in the linked list public static class Node { int […]
Linked List Locate From End
public class LinkedListLocateFromEnd { // Static inner class representing a node public static class Node { int data; Node next; […]
Linked List Deletion
public class LinkedListDeletion { // Static nested class for node public static class IntNode { int data; IntNode link; public […]
Linked List Insertion
public class LinkedListInsertion { // Node class made static & public so it’s accessible public static class IntNode { int […]
Bitwarden
# First step: run the docker and sign up a accountant for yourself # This is only a temp container […]
inheritance
//class ProductApp work as the driver public class ProductApp { public static void main(String[] args) { Product[] list = new […]
nltk_spam_dtr
# —————————— # 安装依赖库(如果未安装) # —————————— pip install textblob # 建议在终端运行,Jupyter 中加 !pip install 更稳妥 # —————————— # 导入必要库 # […]
dsctree_phishing_dtr
# —————————— # 导入必要库 # —————————— import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection […]
log_phishing_dtr
# —————————— # 导入必要库 # —————————— import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.linear_model […]