This note is yours, feel free to play around. :video_game:
Type on the left :arrow_left: and see the rendered result on the right. :arrow_right:
:memo: Where do I start?
Step 1: Change the title and add a tag
[x] Create my first HackMD note (this one!)
[ ] Change its title
[ ] Add a tag
stu880080 changed 4 years agoView mode Like Bookmark
https://github.com/aspspspsp/HoungYangInterview
WordCount
public class StringTest {
public static void main(String[] args) {
var sma = new StringManipulationAlgorithms();
sma.sssss();
}
Two Sum
class Solution {
public int[] twoSum(int[] nums, int target) {
HashMap<Integer, Integer> m = new HashMap<Integer, Integer>();
int[] res = new int[2];
for (int i = 0; i < nums.length; ++i) {
m.put(nums[i], i); /*第一個為值 第二個為值的位置*/
}
for (int i = 0; i < nums.length; ++i) {
USE LeonPower
create table Users(
id int not null primary key identity(1,1),
name nvarchar(50) not null
);
insert into Users(name) Values('mary');
insert into Users(name) Values('john');
insert into Users(name) Values('judy');
Matt850629 changed 4 years agoView mode Like Bookmark