# leetcode **Repository Path**: er1c-zh/leetcode ## Basic Information - **Project Name**: leetcode - **Description**: No description available - **Primary Language**: Ruby - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-22 - **Last Updated**: 2021-08-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # leetcode in ruby ## some question ### **Ruby** do **NOT** use `class Node` leetcode will overwrite `Node` this will make runtime error. ```plain // 异常的情况:会一直出现这个问题,本地运行是成功的。 Line 107: wrong number of arguments (given 0, expected 2) (ArgumentError) in trie.rb (initialize) Line 43 in solution.rb (new) Line 43 in solution.rb (insert) Line 180 in solution.rb (
) ``` ## some interesting easy problems 1. 169 1. 172 1. 220 用桶去做一个分类 1. 226 你能白板写一个反转二叉树的函数吗?