abc_begin

导航

2018年2月3日 #

1. A + B Problem【easy】

摘要: Write a function that add two numbers A and B. You should not use + or any arithmetic operators. Notice There is no need to read data from standard in 阅读全文

posted @ 2018-02-03 16:43 LastBattle 阅读(137) 评论(0) 推荐(0)

632. Binary Tree Maximum Node【Naive】

摘要: Find the maximum node in a binary tree, return the node. Find the maximum node in a binary tree, return the node. Find the maximum node in a binary tr 阅读全文

posted @ 2018-02-03 15:44 LastBattle 阅读(191) 评论(0) 推荐(0)

466. Count Linked List Nodes【Naive】

摘要: Count how many nodes in a linked list. Count how many nodes in a linked list. Count how many nodes in a linked list. Example Given 1->3->5, return 3. 阅读全文

posted @ 2018-02-03 15:31 LastBattle 阅读(175) 评论(0) 推荐(0)

452. Remove Linked List Elements【Naive】

摘要: Remove all elements from a linked list of integers that have value val. Remove all elements from a linked list of integers that have value val. Remove 阅读全文

posted @ 2018-02-03 14:56 LastBattle 阅读(133) 评论(0) 推荐(0)

366. Fibonacci【Naive】

摘要: Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The i th number is the sum of 阅读全文

posted @ 2018-02-03 12:47 LastBattle 阅读(165) 评论(0) 推荐(0)

219. Insert Node in Sorted Linked List【Naive】

摘要: Insert a node in a sorted linked list. Insert a node in a sorted linked list. Insert a node in a sorted linked list. Example Given list = 1->4->6->8 a 阅读全文

posted @ 2018-02-03 12:06 LastBattle 阅读(215) 评论(0) 推荐(0)