iT邦幫忙

自主學習相關文章
共有 60 則文章

技術 Day 17: 383. Ransom Note

Given two strings ransomNote and magazine, return true if ransomNote can be cons...

技術 Day 16: 349. Intersection of Two Arrays

Given two integer arrays nums1 and nums2, return an array of their intersection....

技術 Day 15: 69. Sqrt(x)

Given a non-negative integer x, return the square root of x rounded down to the...

技術 Day 14: 66. Plus One

You are given a large integer represented as an integer array digits, where each...

技術 Day 13: 709. To Lower Case

Given a string s, return the string after replacing every uppercase letter with...

技術 Day 12: 387. First Unique Character in a String

Given a string s, find the first non-repeating character in it and return its in...

技術 Day 11: 344. Reverse String

Write a function that reverses a string. The input string is given as an array o...

技術 Day 10: 125. Valid Palindrome

A phrase is a palindrome if, after converting all uppercase letters into lowerca...

技術 Day 21 建立第一個隧道

1.概念先講清楚今天的目標是:(一)在自己電腦跑一個小網站(本地伺服器)。(二)用ngrok幫它建立一個可以被外部存取的網址。(三)任何人(朋友、LINE Bo...

技術 Day 20 安裝ngrok

1.為什麼要安裝ngrok?雖然ngrok本身就是一個單一執行檔,但如果只是下載來執行,每次都會出現臨時的限制。只有綁定自己的帳號(加上authtoken)之後...

技術 Day 19 什麼是ngrok?為什麼需要它?

1.問題背景我們在開發網站或API時,通常程式都跑在自己的電腦,這時候你能自己測試沒問題,但如果想要給外面的人或外部服務來存取,就會遇到這些難題:(一)固定IP...

技術 Day 9: 88. Merge Sorted Array

You are given two integer arrays nums1 and nums2, sorted in non-decreasing order...

技術 Day 8: 58. Length of Last Word

Given a string s consisting of words and spaces, return the length of the last w...

技術 Day 7: 53. Maximum Subarray

Given an integer array nums, find the subarray with the largest sum, and return...

技術 Day 6: 35. Search Insert Position

Given a sorted array of distinct integers and a target value, return the index i...

技術 Day 5: 27. Remove Element

Given an integer array nums and an integer val, remove all occurrences of val in...

技術 Day 4: 26. Remove Duplicates from Sorted Array

Given an integer array nums sorted in non-decreasing order, remove the duplicate...

技術 Day 30 跨裝置測試手機↔電腦

昨天學會了用ngrok把本地的網站公開到外部。今天要更進一步學習如何利用這個特性來進行跨裝置測試,也就是讓手機、平板、甚至別台電腦,都能直接開啟你在自己電腦上開...

技術 Day 29 React+ngrok

昨天學了Node.js+Express API,今天來學前端React+ngrok這對前端開發者特別實用,因為很多時候我們辛苦做好的前端頁面,只能在自己的電腦l...

技術 Day 28 Node.js+Express API

1.為什麼要用 Express+ngrok?很多前端工程師在學習API時,會先用Node.js+Express來寫簡單的後端服務。但問題是API跑在本地loca...

技術 Day 27 Django+ngrok

Django與Flask的差異Flask:輕量級框架,常用來快速測試API或小專案。Django:大型框架,自帶完整功能(資料庫ORM、後台管理、模板系統、使用...

技術 Day 26 Flask API+ngrok

為什麼要用Flask+ngrok?(一)Flask:Python最常見的輕量級Web框架,幾行程式碼就能跑出API。(二)ngrok:把這個本地API變成一個對...

技術 Day 25 ngrok的安全性與限制

ngrok的安全風險1.本地服務暴露到網路(一)ngrok就是幫你把localhost映射到公開網址。(二)任何人只要知道這個網址,就能存取你的本地服務。(三)...

技術 Day 24 免費版vs付費版差異

為什麼要比較免費版和付費版?ngrok的核心價值在於快速把本機服務公開到網路,免費版就能做到這件事。但當需求增加,例如固定網址、多人同時連線、長時間穩定服務,就...

技術 Day 23 ngrok subdomain/region

1.為什麼需要自訂subdomain免費版問題:每次執行ngrok http 5000時ngrok會分配一個隨機網址,這個網址在你關掉ngrok或重開電腦後就會...

技術 Day 22 ngrok的流量檢視面板

當你用ngrok http 5000建立隧道後,其實ngrok會自動開一個本地後台給你,這個dashboard就像一個小型流量監控工具,能幫你追蹤每一筆API請...

技術 Day 3: 13. Roman to Integer

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and...

技術 Day 2: 9. Palindrome Number

Given an integer x, return true if x is a palindrome, and false otherwise.Exampl...

技術 Day 1: 20. Valid Parentheses

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']',...

技術 自主學習30日-LeetCode 1.Two Sum

1.Two Sum 題目描述 給你一個整數陣列 nums 和一個目標值 target,請你在陣列中找出 兩個數字,使它們的和等於目標值,並返回它們的索引。 你可...