演算法

[演算法題目] Array Of Products

Write a function that takes in a non-empty array of integers and returns an array of the same length, where each element in the output array is equal to the product of every other number in the input array……

演算法

[演算法題目] Non-Constructible Change

Given an array of positive integers representing the values of coins in your possession, write a function that returns the minimum amount of change (the minimum sum of money) that you cannot create……

演算法

[演算法題目] Three Number Sum

Write a function that takes in a non-empty array of distinct integers and an integer representing a target sum. The function should find all triplets in the array that sum up to the target sum and return a two-dimensional array of all these triplets…….

攝影師:Tima Miroshnichenko: https://www.pexels.com/zh-tw/photo/html-5380664/
雜談

[網站架設] 利用 JavaScript 讓網頁每個連結開新的分頁

不論是何種型態的網站,大部分的站長都會希望網友們能夠在自己的地盤待久一點。但有個惱人的狀況是:一旦有了連結,沒有特別去設定的話,整個網頁就跳轉到別的地方了。本篇要介紹如何利用 JavaScript 強制站內每個連結都開啟新的分頁……

雜談

[C++] MinGW-w64 安裝與設定

GCC 是 C/C++ 的相當有名的編譯器,本篇將介紹如何設置環境,讓我們在 Windows 10 下也能夠使用,以及在 Visual Studio Code 中如何設定……

雜談

[Windows] 包裝的程式不被系統所信任:談談簽章

當時在使用 Pyinstaller 打包程式給朋友使用時,才發現副檔名 .exe 的這種執行檔,電腦超級敏感。.exe 是在 Windows 系統中通用的可執行檔的副檔名,大家應該都看過程式執行時,跳出「未知的發行者」的警告視窗,這一篇要來談談原因和可能的解決方法……

攝影師:Tima Miroshnichenko: https://www.pexels.com/zh-tw/photo/html-5380664/
雜談

[Ubuntu] 使用 RVM 安裝 Ruby

故事是發生在我需要使用 Ruby 環境架設 Jekyll 生成的網站,但在 Ubuntu 作業系統中處理時不太順利,因此產生了這一則筆記……

影集

[影集]《今際之國的闖關者 2》:說教才是本季大魔王

《今際之國的闖關者》是由日本漫畫家麻生羽呂的漫畫作品改編,2020 年 12 月首播,第二季於 2022 年 12 月上線。本篇主要是針對今際之國的闖關者第二季分享心得,有略微提到第一季以及大量提到第二季的劇情,有超多雷,怕爆雷者還是直接迴避吧……

Picture of ALEX

ALEX

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

Recent Posts

C++

NLP