0%

最近想做一个mac的桌面的小工具,经过调研后决定使用Electron进行开发。

Electron是一个能让你使用传统前端技术(Nodejs, Javascript, HTML, CSS)开发一个跨平台桌面应用的框架,它将 Chromium 和 Node.js 的事件循环整合到了一起,同时提供了一些与原生系统交互的 API。

在开发语言上选择了TypeScript

TypeScript是一种通过添加类型定义来扩展JavaScript的语言。

在框架上则选用了熟悉的React

React 是一个声明式,高效且灵活的用于构建用户界面的 JavaScript 库。它让你使用小巧而独立的「component」,来建立复杂的 UI。

Read more »

Given a non-empty array of digits representing a non-negative integer, plus one to the integer.
The digits are stored such that the most significant digit is at the head of the list, and each element in the array contain a single digit.
You may assume the integer does not contain any leading zero, except the number 0 itself.

Read more »

Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory.

Read more »

Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.

Read more »