Yiling's Tech Zone

Tech blogger, University of Western Australia postgraduate student. Machine Learning/Data Structure & Algorithms/Python/C#/Web backend/JS/Java/R

Leetcode 520. Detect Capital Csharp(C#) Solution

Leetcode With Csharp series tutorial

Problem could be found on Leetcode Here Problem Description Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be r...

Time Complexity of Python3 Built-in Methods

Document

Note: [1] = These operations rely on the “Amortized” part of “Amortized Worst Case”. Individual actions may take surprisingly long, depending on the history of the container. [2] = For these oper...

Inplement Priority Queue(heap) in C#

Data structure

I will continue update this code during study C#, now it may looks not elegant enough. Please tell me if anyone needs a Python3 version, I am good at Python. public class heapq{ List<int&g...

Leetcode 7. Reverse Integer Csharp(C#) Solution

Leetcode With Csharp series tutorial

Problem could be found on Leetcode Here Problem Description Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 E...

Leetcode 3. Longest Substring Without Repeating Characters Csharp(C#) Solution

Leetcode With Csharp series tutorial

Problem could be found on Leetcode Here Problem Description Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explan...

Leetcode With Csharp(C#) - Introduction

Introduction about Leetcode With Csharp series tutorial

Introduction About this Series I am experienced in Python3 but a starter of C#, and found there are too few C# solutions for Leetcode problems, so I decide to write those tutorials for those who w...

Leetcode 2. Add Two Numbers Csharp(C#) Solution

Leetcode With Csharp series tutorial

Problem could be found on Leetcode Here Problem Description You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of the...

Leetcode 1. Two Sum Csharp(C#) Solution

Leetcode With Csharp series tutorial

Problem could be found on Leetcode HERE Problem Description Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each inp...