• 點部落
  • 首頁
  • RSS
    • 登入
  • 點部落
  • 首頁
  • RSS
    • 登入

In 91

擁有熱血魂,熱衷敏捷開發相關的點火師,專門點燃其他人內心的火種

2017-03-28

[TDD][Codewars] Mumbling

  • 1696
  • 0
  • LeetCode 練功房

上回邀請朋友一起來進行 pair programming,隨機挑了一個 Codewars 的題目來練習:Mumbling。

題目描述:

...繼續閱讀 »
  • Codewars
  • kata
2017-03-22

[TDD]LeetCode 58. Length Of Last Word

  • 757
  • 0
  • LeetCode 練功房

LeetCode 58: Length of Last Word

...繼續閱讀 »
  • LeetCode
2017-03-17

[TDD][Codewars]Number of People in the Bus

  • 525
  • 0
  • LeetCode 練功房
  • 2017-03-16

Codewars 上隨機挑到的題目:Number of People in the Bus

...繼續閱讀 »
  • kata
2017-03-16

LeetCode 121. Best Time to Buy and Sell Stock

  • 837
  • 0
  • LeetCode 練功房

Leet Code 題目 121: Best Time to Buy and Sell Stock

 

...繼續閱讀 »
  • LeetCode
2017-03-15

[TDD][Codewars] Buying A Car

  • 663
  • 0
  • LeetCode 練功房

Codewars 上隨機挑到的一個題目:Buying A Car

 

...繼續閱讀 »
  • kata
2017-03-10

LeetCode. 136 Single Number

  • 924
  • 0
  • LeetCode 練功房
  • 2017-03-13

LeetCode 136 題:Single Number

...繼續閱讀 »
  • LeetCode
2017-03-09

LeetCode 15. 3Sum

  • 912
  • 0
  • LeetCode 練功房

LeetCode 第 15 題: 3 Sum。

...繼續閱讀 »
  • LeetCode
2017-03-07

LeetCode 3. Longest Substring Without Repeating Characters

  • 803
  • 0
  • LeetCode 練功房
  • 2017-03-08

LeetCode 第三題 "Longest Substring Without Repeating Characters" 

...繼續閱讀 »
  • LeetCode
2017-03-05

LeetCode 231. Power of Two

  • 570
  • 0
  • LeetCode 練功房
  • 2017-03-03

LeetCode 第 231 題:"Power of Two",相當單純的題目。

Given an integer, write a function to determine if it is a power of two.

...繼續閱讀 »
  • LeetCode
2017-03-04

LeetCode 9. Palindrome Number

  • 515
  • 0
  • LeetCode 練功房
  • 2017-03-03

LeetCode 第九題 Palindrome Number ,判斷一個數字是否為「回文」。

Determine whether an integer is a palindrome. Do this without extra space. 

...繼續閱讀 »
  • LeetCode
2017-02-27

LeetCode 1. Two Sum

  • 1930
  • 0
  • LeetCode 練功房

 LeetCode 的第 1 題 "Two Sum",題目描述如下。

...繼續閱讀 »
  • LeetCode
2017-02-26

[TDD]LeetCode 2. Add Two Numbers

  • 1095
  • 0
  • LeetCode 練功房

用 TDD 來練習完成 LeetCode 的第 2 題,題目描述如下。

...繼續閱讀 »
  • LeetCode
  • TDD
2017-02-20

LeetCode 326. Power of Three

  • 729
  • 0
  • LeetCode 練功房
  • 2017-02-22

LeetCode 326: Power of Three

Given an integer, write a function to determine if it is a power of three.

Follow up:
Could you do it without using any loop / recursion?

...繼續閱讀 »
  • LeetCode
2017-02-17

[TDD] leet code 220. Contains Duplicate III

  • 956
  • 0
  • LeetCode 練功房
  • 2017-02-20

用 TDD 來練習完成 leet code 的第 220 題,題目描述如下。

Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and nums[j] is at most t and the absolute difference between i and j is at most k.

...繼續閱讀 »
  • LeetCode
  • TDD
2017-02-08

[TDD]Find the Next Bigger Number from Codewars

  • 2007
  • 0
  • LeetCode 練功房
  • 2018-11-17

Codewars 上的 kata: Next bigger number with the same digits

You have to create a function that takes a positive integer number and returns the next bigger number formed by the same digits:
f(12) == 21
f(513) == 531
f(2017) == 2071

If no bigger number can be composed using those digits, return -1:
f(9) == -1
f(111) == -1
f(531) == -1

...繼續閱讀 »
  • kata
  • TDD
  • Codewars
2017-02-07

[TDD] leet code 219. Contains Duplicate II

  • 5098
  • 0
  • LeetCode 練功房
  • 2017-02-20

用 TDD 來練習完成 leet code 的第 219 題,題目描述如下。

Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at most k.

...繼續閱讀 »
  • TDD
  • LeetCode
  • kata
  • 1

關於我 (91)

  • 目前 blog 已搬家至 https://tdd.best/
  • 關於我

 

系列文章

標籤雲

  • 服務規範
  • 聯絡我們
© 2025 點部落 Ver. 2022.9.27.1
電魔小鋪有限公司 製作、維運;登豐數位科技 提供資安檢測