Django 內建一套權限系統,主要提供 Django 應用程式的模型新增、修改、刪除、瀏覽權限管理,除此之外還有系統管理員、管理員與認證檢查,當然 Djang...
題目(5kyu): You are given a string containing 0's, 1's and one or more '?', where...
使用enumerate,不要用range(len(x)) city_list = ["Taipei","beijing&quo...
題目(5kyu): In some countries of former Soviet Union there was a belief about luc...
題目: Our hero Teemo is attacking an enemy Ashe with poison attacks! When Teemo a...
題目(6kyu): The number 89 is the first integer with more than one digit that fulf...
題目: Given two non-negative integers, num1 and num2 represented as string, retur...
在上篇中,我們是需要到 Line Notify 登入後的個人介面發行 token,但總不能叫每一個加入 line bot 的好友都自己去註冊 Line Noti...
在前面的章節中,我們花了許多時間探討 GraphQL 及 Strawberry,這主要是希望讓大家對於 GraphQL 擁有基礎的理解,並對 Strawberr...
[Day20] OAuth2 實例:實作總結 本次的程式碼與目錄結構可以參考 FastAPI Tutorial : Day20 branch 回顧 我們在...
本系列文章是針對 Udemy 上的熱門機器學習課程 - Machine Learning A-Z in Chinese 所做的學習筆記因為報名課程許久都未能上完...
題目: Given an integer array nums, handle multiple queries of the following type:...
EasyRelated Topics: Array / StringLeetCode Source 解題想法 在 details 的陣列中,總長 15,計算...
練習使用selenium來登入FB from selenium import webdriver driver = webdriver.Chrome() dr...
題目: Given the root of a binary tree, return all root-to-leaf paths in any order...
陳述句: 除了表示式之外其他指令,像是If陳述句、for陳述句。 表示式: 由運算子和值組成,像是age>20。 變數: 物件的名稱,像是name =...
adj_seq_cnt += 1 print("adj_seq",adj_seq_cnt) if adj_seq_cnt == num_ad...
今天我們要來介紹一下正規表達式該怎麼與 MongoDB 來做查詢,同時也會針對正規表達式做一些簡單的介紹以及範例 一、正規表達式介紹 正則表達式(Regular...
首先是 2418. Sort the People (easy)https://leetcode.com/problems/sort-the-people/ 他...
本文同步刊載於 「為你自己學 Python - 串列的排隊人生」 串列的排隊人生 有些程式語言,例如 C 語言,對於陣列(Array)的設計,不僅只能放同...
題目: Implement a first in first out (FIFO) queue using only two stacks. The impl...
MediumRelated Topics: Array / Sorting / Counting SortLeetCode Source 解題想法 這題我卡...
我們來建立幾個重複的整數:10 和 257,比對一下他們的ID看看: var_1 = 10 var_2 = 10 id(var_1), id(var_2) (...
老獅:盤點一下要做什麼吧 小獅:API 用來建立使用者 1. 超級使用者可建立一般使用者 2. 超級使用者可建立超級使用者 3. 一般使用者不能建立帳號密碼...
本文同步刊載於 「為你自己學 Python - 整數的前世今生」 整數的前世今生 在 Python 的世界裡,整數是最基本也最常用的資料型態之一。你有想過...
題目(6kyu): A twin prime is a prime number that is either 2 less or 2 more than a...
題目: Given an integer n, return true if it is a power of two. Otherwise, return...
每天的專案會同步到 GitLab 上,可以前往 GitLab 查看。有興趣的朋友歡迎留言 or 來信討論,我的信箱是 nickchen1998@gmail.co...
今天我們要來介紹文本索引 Text Index 一、簡介 Text Index(文本索引)是 MongoDB 中的一種特殊索引,用於支援全文搜索和文字查詢。它允...
每天的專案會同步到 GitLab 上,可以前往 GitLab查看,有興趣的朋友歡迎留言 or 來信討論,我的信箱是 nickchen1998@gmail.com...