写bug的小杨

导航

01 2022 档案

break语法使用
摘要:public static void main(String[] args) { int[] asteroids=new int[]{-2,-2,2,-1}; Stack<Integer> stack=new Stack<>(); for(int star:asteroids){ collision 阅读全文

posted @ 2022-01-30 15:38 迷途的小狗 阅读(73) 评论(0) 推荐(0)

字符串的排列
摘要:太久没写博客,随便来一个class Solution { public boolean checkInclusion(String s1, String s2) { int n=s1.length(); int m=s2.length(); if(n>m) return false; //cnt1为 阅读全文

posted @ 2022-01-29 13:18 迷途的小狗 阅读(43) 评论(0) 推荐(0)