演算法

[演算法題目] Caesar Cipher Encryptor

Given a non-empty string of lowercase letters and a non-negative integer representing a key, write a function that returns a new string obtained by shifting every letter in the input string by k positions in the alphabet, where k is the key…….

演算法

[演算法題目] Group Anagrams

Write a function that takes in an array of strings and groups anagrams together.
Anagrams are strings made up of exactly the same letters……

演算法

[演算法題目] Valid IP Addresses

You’re given a string of length 12 or smaller, containing only digits. Write a function that returns all the possible IP addresses that can be created by inserting three .s in the string……

小東西

[C++ 小東西] 簡易的書籍管理程式

鑒於以前大部分應用程式都是用 C# 或是用 Python 寫,最近突然想試試看用 C++ 比較不同之處,並且從管理系統著手(以前有陣子蠻常寫這個的),殊不知將近兩到三個小時幾乎是忙著大改裡面的東西……

小東西

[Python 小東西] 排程工具 Scheduling Tool

現在要打造一座城堡,目前已經有任務清單,例如建造牆壁、打地基、安裝窗戶等等,但還沒有排序哪個任務要先完成,目前有個檔案有每個任務的 index、每個任務的名稱以及每個任務的先備條件,目前我們需要一個能夠排序任務的小工具……

小東西

[Python 小東西] 爬取英文單字列表網站

這次我想爬取 majortests 中的英文列表。這個網站的組成蠻簡單的(雖然廣告很多),標籤也很一致整齊,很適合做為爬取單字的爬蟲練習……

演算法

[演算法題目] Move Element To End

You’re given an array of integers and an integer. Write a function that moves all instances of that integer in the array to the end of the array and returns the array…

Picture of ALEX

ALEX

藍白拖愛好者,一事無成話偏多

Recent Posts

C++

NLP