原创 無重複字符的最長子串(力扣)

import java.util.HashMap; //無重複字符的最長子串 public class Test { public static void main(String[] args) { Str

原创 冒泡排序~鏈表

#include<stdio.h>typedef struct node{    int data;    struct node *next;} l

原创 線性表~順序結構(數組)

#include<stdio.h>#define Maxsize 1024typedef struct{    int data[Maxsize]; 

原创 兩數之和(力扣)

import java.util.HashMap; public class Test { public static void main(String[] args) { int[] arr = new

原创 兩數相加(力扣)

public class Test { public static void main(String[] args) { ListNode l1 = new ListNode(2); l1.ne

原创 判斷字符串是否唯一(力扣)

import java.util.HashMap; public class Test { public static void main(String[] args) { System.out.printl

原创 排列~C語言

題目:用1,2,3,…,9組成3個三位數abc,def和ghi,每個數字恰好使用一次,要求abc:def:ghi=1:2:3。按照“abc def ghi”的格式輸出所有解,每行一個解. 對數組的理解: 1   數組可以用來存數。 2  

原创 區塊鏈解析(一)

1、區塊鏈的模型架構                 區塊鏈基礎模型架構分爲六層,自下而上包括數據層、網絡層、共識層、激勵層、合約層、應用層。每一層在完成一項          核心功能的同時,與其他各層互相配合,從而實現一個去中心化的信

原创 豎式問題~c語言

#include<stdio.h> #include<string.h> int main() {     int i,j,count=0;     int x,y,z;     char s[20],buf[99];     scanf