- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 升级Ubuntu 20.04后,无法调节亮度
升级Ubuntu 20.04后,无法调节亮度ubuntu18.04 升级到 20.04后,设置里面没有亮度条滑块控制亮度。按网上的说法,修改/etc/default/grub,将GRUB_CMDLINE_LINUX=""修改为GRUB_CMDLINE_LINUX="acpi_backlight=vendor"执行sudo update-grub,重启计算机即可。实际效果只能把亮度条滑块显示出来,调节滑块亮度并无变化。尝试发现将GRUB_CMDLINE_LINUX="acpi_backligh
2020-10-07 22:44:10
6171
7
原创 LeetCode | 8) String to Integer (atoi)
题目Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca
2016-10-05 01:08:34
308
原创 LeetCode | 7)Reverse Integer
题目Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321Have you thought about this? Here are some good questions to ask before coding. Bonus points for you
2016-10-04 23:19:01
410
原创 LeetCode | 6)ZigZag Conversion
题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P- - - - A - - - H - - - NA
2016-10-04 18:31:29
274
原创 LeetCode | 5)Longest Palindromic Substring
题目Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.Prototypeclass Solution {
2016-10-04 16:29:02
265
原创 LeetCode | 4)Median of Two Sorted Arrays
题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1: nums1 = [1, 3]
2016-10-04 12:59:58
365
原创 LeetCode | 3)Longest Substring Without Repeating Characters
题目Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “pwwkew”, the answer is “w
2016-10-03 15:48:05
247
原创 LeetCode | 2) Add Two Numbers
题目You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a lin
2016-10-02 18:03:16
433
原创 LeetCode | 1) Two sum
*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.*
2016-10-02 15:51:02
312
原创 联想拯救者笔记本安装Win10、Ubuntu16.04双系统
UEFI+Win10+Ubuntu16.04+Nvidia双显卡原来的老爷机一直使用debian系统,最近挂了,换了个联想拯救者游戏本,性能还不错。新电脑装了正版的win10,可是对于我这种喜欢折腾linux系统的人来说,必须要装个双系统!双系统的安装1、电脑自带的是1T的机械硬盘,正好自己有一块256G的固态硬盘,换上SSD开始新旅程。2、在微软官网下载Win10家庭版,U...
2016-10-02 01:03:33
13875
4
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人