目前分類:exam (13)
- Apr 04 Wed 2018 10:41
leetcode - 4. Median of Two Sorted Arrays
- Apr 04 Wed 2018 02:53
leetcode - 2. Add Two Numbers
題目:
You are given two non-empty linked lists representing two non-negative integers. 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 linked list.
- Apr 04 Wed 2018 01:12
leetcode - 8. String to Integer (atoi)
- Mar 31 Sat 2018 06:00
leetcode - 9. Palindrome Number
- Mar 31 Sat 2018 05:44
leetcode - 7. Reverse Integer
- Mar 31 Sat 2018 05:16
leetcode - 1. Two Sum
題目:
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
- Mar 26 Mon 2018 21:47
UVA [10008] - What's Cryptanalysis?
- Mar 22 Thu 2018 22:30
leetcode - 27. Remove Element
題目:
Given an array and a value, remove all instances of that value in-place and return the new length.
- Mar 22 Thu 2018 22:06
leetcode - 26. Remove Duplicates from Sorted Array
題目:
Given a sorted array, remove the duplicates in-place such that each element appear only once and return the new length.
- Mar 22 Thu 2018 21:58
leetcode - 21. Merge Two Sorted Lists
題目:
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
- Mar 15 Thu 2018 21:53
leetcode - 20. Valid Parentheses
題目:
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
- Mar 15 Thu 2018 20:58
leetcode - 14. Longest Common Prefix
題目:
Write a function to find the longest common prefix string amongst an array of strings.
- Oct 31 Tue 2017 14:01
UVA [100] - The 3n+1 problem