GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Category: LeetCode

  • Posted on February 16, 2017March 22, 2020
  • LeetCode

LeetCode 8. String to Integer (atoi)

Description https://leetcode.com/problems/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…

Continue Reading
  • Posted on February 15, 2017January 28, 2021
  • LeetCode

LeetCode 28. Implement strStr()

Description https://leetcode.com/problems/implement-strstr/ Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Clarification: What…

Continue Reading
  • Posted on February 12, 2017January 27, 2018
  • Binary Search

LeetCode 4. Median of Two Sorted Arrays

Description https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of…

Continue Reading
  • Posted on February 12, 2017October 5, 2021
  • LeetCode

LeetCode 3. Longest Substring Without Repeating Characters

Description https://leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Explanation:…

Continue Reading
  • Posted on February 12, 2017February 1, 2021
  • LeetCode

LeetCode 7. Reverse Integer

Description https://leetcode.com/problems/reverse-integer/ Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Explanation The…

Continue Reading
  • Posted on February 12, 2017January 13, 2021
  • LeetCode

LeetCode 1. Two Sum

Description https://leetcode.com/problems/two-sum/ Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.…

Continue Reading
  • Posted on February 10, 2017January 10, 2021
  • LeetCode

LeetCode 2. Add Two Numbers

Description https://leetcode.com/problems/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…

Continue Reading
  • Posted on February 10, 2017September 25, 2020
  • LeetCode

LeetCode Solutions and Explanations

Here is a list of LeetCode problems solved by Goodtecher. Goodtecher will keep updating solutions and explains to LeetCode problems.…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 58 Page 59

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress