ICode9

精准搜索请尝试: 精确搜索
  • java~PECS原则2022-04-14 16:32:01

    pecs 全称是Producer Extends Consumer Super 使用extends确定上界的只能是生产者,只能往外生产东西,取出的就是上界类型。不能往里塞东西。 使用Super确定下界的只能做消费者,只能往里塞东西。取出的因为无法确定类型只能转成Object类型看代码更好理解。 代码 List<? extends Numb

  • Minesweeper使用 学习(1)2022-01-16 14:02:33

    Minesweeper使用之BGP测试 学习 一、BGP1 1.导入BGP1的网络。 init-testrig /home/yahui/Desktop/batfish-abstraction-fixes/test_rigs/smt-examples/BGP1 这里路径是电脑上存网络配置文件的文件夹 这个网络很小,只有两个路由器,大概长这样(这里R2的接口loopback0的ip我标错了

  • [Leetcode 1041]机器人围成圈 Robot Bounded In Circle2021-11-28 01:03:51

    题目 机器人从(0,0)出发,初始化向北 三种指令 G当前方向+1步,L左转90度,R右转90度 问指令结束后是否成圆圈(只有可能回原点时才成圈) 返回true/false On an infinite plane, a robot initially stands at (0, 0) and faces north. The robot can receive one of three instructions: "

  • 795. Number of Subarrays with Bounded Maximum2021-06-18 05:32:26

    We are given an array nums of positive integers, and two positive integers left and right (left <= right). Return the number of (contiguous, non-empty) subarrays such that the value of the maximum array element in that subarray is at least left and at

  • [LeetCode] 1041. Robot Bounded In Circle2020-09-18 08:02:53

    On an infinite plane, a robot initially stands at (0, 0) and faces north.  The robot can receive one of three instructions: "G": go straight 1 unit; "L": turn 90 degrees to the left; "R": turn 90 degress to the right. The r

  • 面向服务架构设计-note2020-03-01 17:51:56

    常用方法:     战略    分治:       抽象:       DDD: 一个具有有限的业务范围,可以帮助我们更更好 的做服务化架构设计。DDD战略略建模中的限界 上下⽂文(Bounded Context),其核⼼心就是将 特定职责的相关⾏行行为控制在⼀一个有限边界的范 围内。    战术      

  • 微服务架构 (七): 微服务粒度设计上的核心设计原则与思考的面向2019-12-29 10:00:45

    架构师在设计微服务时, 需把握一个核心的设计原则:微服务 “外部的世界” 远比 “内部的世界” 重要。微服务外部与内部的世界是以微服务边界上下文 (Bounded Context) 作划分的。而微服务的接口; 例如: REST 接口; 便是拉通了微服务外部与内部的世界。微服务外部的世界包括:A. 

  • 1041. Robot Bounded In Circle2019-05-29 16:01:03

    On an infinite plane, a robot initially stands at (0, 0) and faces north.  The robot can receive one of three instructions: "G": go straight 1 unit; "L": turn 90 degrees to the left; "R": turn 90 degress to the right. The r

  • 【leetcode】1041. Robot Bounded In Circle2019-05-12 21:42:25

    题目如下: On an infinite plane, a robot initially stands at (0, 0) and faces north.  The robot can receive one of three instructions: "G": go straight 1 unit; "L": turn 90 degrees to the left; "R": turn 90 degress to the right.

  • Leetcode-5055 Robot Bounded In Circle(困于环中的机器人)2019-05-12 12:49:42

    1 #define _for(i,a,b) for(int i = (a);i < b;i ++) 2 int dx[] = {-1,0,1,0}; 3 int dy[] = {0,1,0,-1}; 4 class Solution 5 { 6 public: 7 bool isRobotBounded(string instructions) 8 { 9 int fang = 0;10 int x = 0,y

  • (5)How to let go of being a "good" person — and become a better person2019-03-30 20:37:53

    https://www.ted.com/talks/dolly_chugh_how_to_let_go_of_being_a_good_person_and_become_a_better_person/transcript 00:13So a friend of mine was riding in a taxi to the airport the other day, and on the way, she was chatting with the taxi driver, and he said

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有