- 博客(4)
- 收藏
- 关注
原创 [LeetCode]Top Interview Questions/Easy Collection/String to Integer (atoi)
Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this...
2018-09-23 19:31:38
151
原创 [LearnOpenGL]OpenGL绘制一个简单三角形
实现效果: 代码: // System Headers #include <glad/glad.h> #include <GLFW/glfw3.h> // Standard Headers #include <cstdio> #include <cstdlib> #include <iostream> // 顶点着色器源码 c...
2018-09-03 14:45:21
399
原创 [LeetCode]Top Interview Questions/Easy Collection/Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, we define empty string as valid palindrome. Examp...
2018-08-16 19:51:31
173
原创 [LeetCode]Top Interview Questions/Easy Collection/Valid Anagram
Valid Anagram Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = “anagram”, t = “nagaram” Output: true Example 2: Input: s = “rat”, t = “car...
2018-08-14 19:58:53
182
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人