mikeisgoodman111
码龄6年
求更新 关注
提问 私信
  • 博客:5,505
    5,505
    总访问量
  • 26
    原创
  • 1
    粉丝
  • 76
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广西
加入CSDN时间: 2019-02-20
博客简介:

qq_44673751的博客

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得1次评论
  • 获得5次收藏
  • 博客总排名460,238名
创作历程
  • 27篇
    2019年
成就勋章
TA的专栏
  • 一些有用的东西
    1篇

TA关注的专栏 0

TA关注的收藏夹 0

TA关注的社区 4

TA参与的活动 0

创作活动更多

王者杯·14天创作挑战营·第2期

这是一个以写作博客为目的的创作活动,旨在鼓励码龄大于4年的博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。 注: 1、参赛者可以进入活动群进行交流、分享创作心得,互相鼓励与支持(开卷),答疑及活动群请见https://bbs.csdn.net/topics/619735097 2、文章质量分查询:https://www.csdn.net/qc 我们诚挚邀请你们参加为期14天的创作挑战赛!

66人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

Maximum Product Subarray(Medium)

Maximum Product Subarray by Leetcodejava编写class Solution {public int maxProduct(int[] nums) {if (nums == null || nums.length <= 0) return 0;int currMaxProd = nums[0];int currMinProd = nums[0]...
原创
发布博客 2019.04.18 ·
170 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Triangle(Medium)

Triangle by LeetCodejava编写public class Triangle {public static int minimumTotal(List<List> triangle) {dfs(triangle, 0, 0, 0);return sum1;}public static void dfs(List<List> triangle,...
原创
发布博客 2019.04.16 ·
271 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Construct Binary Tree from Preorder and Inorder Traversal(Medium)

Construct Binary Tree from Preorder and Inorder Traversal by LeetCodejava编写/**Definition for a binary tree node.public class TreeNode {int val;TreeNode left;TreeNode right;TreeNode(...
原创
发布博客 2019.04.15 ·
153 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Search in Rotated Sorted Array II(Medium)

Search in Rotated Sorted Array II by LeetCodejava编写public boolean search(int[] nums, int target) {int left = 0, right = nums.length - 1;while(left <= right) {int mid = (left + right) / 2;if(t...
原创
发布博客 2019.04.14 ·
181 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

图片加密

public class PictureEncryption {public void getImagePixel(String image) throws Exception { int[] rgb = new int[3]; File file = new File(image); BufferedImage bi = null; try { bi = ImageIO.read(...
原创
发布博客 2019.04.13 ·
331 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Remove Duplicates from Sorted Array II(Medium)

Remove Duplicates from Sorted Array II by LeetCodejava编写class Solution {public int removeDuplicates(int[] nums) {if (nums.length <= 2)return nums.length;int count = 2, last = nums[0];for (in...
原创
发布博客 2019.04.13 ·
104 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

字符串转成二进制码&&二进制码转成字符串

Java将字符串转成二进制码public void toBinary(){String str = “王雪”;char[] strChar=str.toCharArray();String result="";for(int i=0;i<strChar.length;i++){result +=Integer.toBinaryString(strChar[i])+ " ";}...
转载
发布博客 2019.04.11 ·
1856 阅读 ·
1 点赞 ·
0 评论 ·
4 收藏

Word serach(Medium)

Word search by LeetCodejava编写public class word_search { static boolean xx;public static void main(String[] args) {char[][] a = {{‘A’,‘B’,‘C’,‘E’},{‘S’,‘F’,‘C’,‘S’},{‘A’,‘D’,‘E’,‘E’}};System.ou...
原创
发布博客 2019.04.11 ·
146 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Subsets(Medium)

Subsets by LeetCodejava编写public class Subsets {public static void main(String[] args) {int[] a = {1,2,3};subsets(a);}public static List<List> subsets(int[] nums) {List<List> result...
原创
发布博客 2019.04.10 ·
129 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Set Matrix Zeroes(Medium)

Set Matrix Zeroes by LeeetCodejava编写public class Set_Matrix_Zeroes {public static void main(String[] args) {int[][]a= { {0,1,2,0},{3,4,5,2},{1,3,1,5}};setZeroes(a);}public static void setZero...
原创
发布博客 2019.04.10 ·
114 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Minimum Path Sum(Medium)

Minimum Path Sum by LeetCodejava编写public class Minimum_Path_Sum {static int sum=0;static boolean pan=false;public static void main(String[] args) {int[][] a= {{1,3,1,9,4},{1,5,1,2,1},{4,1,1,1...
原创
发布博客 2019.04.09 ·
122 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Unique Paths(Medium)

Unique Paths by LeetCodejava编写public class Unique_Paths {static int count;static int x=0;static int y=0;public static void main(String[] args) {System.out.println(uniquePaths(7, 3));}public s...
原创
发布博客 2019.04.09 ·
198 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Spiral Matrix(Medium)

Spiral Matrix II by Leetcodejava编写class Solution {static int x=0;static int y=0;static int i=0;public int[][] generateMatrix(int n) {int [][]a = new int[n][n];if(n==1){a[0][0]=1;return a;}...
原创
发布博客 2019.04.08 ·
192 阅读 ·
1 点赞 ·
1 评论 ·
0 收藏

Merge Intervals(Medium)

Merge Intervals by LeetCodejava编写public List merge(List intervals) {if (intervals.size() <= 1)return intervals;// Sort by ascending starting point using an anonymous Comparatorintervals.sort(...
原创
发布博客 2019.04.08 ·
186 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

jump game(Medium)

jump game by Leetcodejava编写public boolean canJump(int[] nums) {int far = 0;for(int i = 0; i < nums.length; i++){if(i <= far){far = Math.max(far, i+nums[i]);} else return false;}return t...
原创
发布博客 2019.04.06 ·
109 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Spiral Matrix(Medium)

Spiral Matrix by leetcodejava编写class Solution {static int x=0;static int y=0;public static List spiralOrder(int[][] matrix) {List list = new ArrayList<>();if(matrix.length == 0){return n...
原创
发布博客 2019.04.05 ·
101 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Rotate_image(Medium)

Rotae Image by leetcodejava编写class Solution {public void rotate(int[][] matrix) {List list = new ArrayList<>();for(int i =0;i<matrix.length;i++)for(int j=0;j<matrix.length;j++) {lis...
原创
发布博客 2019.04.04 ·
189 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Combination Sum(Medium)

Combination Sum by leetcodejava编程public class Combination_Sum {public static void main(String[] args) { List<List<Integer>> list; int[] a= {2,3,6,7} ; int target = 7; list=combinat...
原创
发布博客 2019.04.03 ·
146 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Find First and Last Position of Element in Sorted Array(Medium)

Find First and Last Position of Element in Sorted Array bu leetcodejava编写public class Find_First_and_Last_Position_of_Element {public static void main(String[] args) { int[] a = {}; for(int x: se...
原创
发布博客 2019.04.03 ·
134 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Longest Substring Without Repeating(Medium)

Longest Substring Without Repeating Characters by Leetcodejava编写public static int lengthOfLongestSubstring(String s) {int max=0;if(s!="") {String[] s1=s.split("");String s2="";int x=0;for(int ...
原创
发布博客 2019.04.03 ·
102 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多