← All tags

#Algorithms

8 posts

2016
[LeetCode] Happy Number (No.202)
Write an algorithm to determine if a number is "happy".
Algorithms
[LeetCode] Longest Substring Without Repeating Characters (No.3)
Given a string, find the length of the longest substring without repeating characters.
Algorithms
[LeetCode] Add Two Numbers - Summing Two LinkedLists (No.2)
You are given two linked lists representing two non-negative numbers.
Algorithms
[LeetCode] Two Sum (No.1)
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
Algorithms
[LeetCode] Excel Sheet Column Number (No.171)
Related to question Excel Sheet Column Title Given a column title as appear in a
Algorithms
[LeetCode] Execel Sheet Column Title (No.168)
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
Algorithms
[LeetCode] Dungeon Game (No.174)
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon.
Algorithms
[LeetCode] Introduction
I recently discovered a great website called LeetCode. It has a huge collection of problems, most of them the kind that come up often in programming interviews—perfect for anyone job hunting who wants to practice, or for anyone who feels their technical foundation isn't strong enough and wants to shore it up.
Algorithms