MSSQL 以字串来分类

table INVMB 有一个栏位 MB002 是品名,现想以品名来分类(另新增一个栏位): 品名内有 '箱' 就出现 '纸箱' 品名内有 '夹' 就出现 '夹链袋' 品名内有 '铝' 就出现

technology blog write for us

technology blog write for us is a universal platform for tech-related news such as trends and updates in the latest technology, reviews on newly launched gadgets, the Internet of things, tips, and stra

Day 18, 巧妙的最大公因数C++设计

今天,我尝试自己设计最大公因数程式码,打得落落长一大堆if, else,不亦乐乎,结果测试结果失败,所幸对了50%的测试(这哪好?,我卡在若输入二数值是质

leetcode with python:53. Maximum Subarray

题目: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. A subarray is a contiguous part of an array. 给定一个阵

Day 19, 费波纳契数加总,求尾数输出值: 背后的数学规律

如题,我们这一次要试着设计出,能够计算出费波纳契数加总的尾数输出,我原本用了大数相加方式,但在输入值为8万多时,就爆掉了,所以我查询了网路

leetcode with python:58. Length of Last Word

题目: Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only. 给定一个字串,回传

leetcode with python:66. Plus One

题目: You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered from most significant to least significant in

leetcode with python:67. Add Binary

题目: Given two binary strings a and b, return their sum as a binary string. 给定两个字串型态的二进位数,同样以字串二进位型态返回相加结果 又是一题有偏方解的题目

leetcode with python:69. Sqrt(x)

题目: Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is return

leetcode with python:70. Climbing Stairs

题目: You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 你可以一次爬1或2阶楼梯

分散式系统: 现代软体架构与设计考量

分散式系统: 现代软体架构与设计考量 [1] The Definition of Distribution: A distributed system is a collection of autonomous computing elements that appears to its users as a single cohere