> For the complete documentation index, see [llms.txt](https://eric-zhang-seattle.gitbook.io/leetcode-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eric-zhang-seattle.gitbook.io/leetcode-1/templates/online_ide_templates.md).

# online IDE templates

* [Coding templates](#coding-templates)
* [Online IDE templates](#online-ide-templates)
  * [Coderpad](#coderpad)
    * [Java](#java)
    * [Python](#python)
  * [Online courses](#online-courses)

## [Coding templates](https://github.com/wisdompeak/LeetCode/tree/master/Template)

[Math](https://github.com/wisdompeak/LeetCode/tree/master/Template/Math)\
[Binary\_Index\_Tree](https://github.com/wisdompeak/LeetCode/tree/master/Template/Binary_Index_Tree)\
[Segment Tree](https://github.com/wisdompeak/LeetCode/tree/master/Template/SegmentTree)\
[Inverse\_Element](https://github.com/wisdompeak/LeetCode/tree/master/Template/Inverse_Element)\
[Graph](https://github.com/wisdompeak/LeetCode/tree/master/Template/Graph)\
[Bit\_Manipulation](https://github.com/wisdompeak/LeetCode/tree/master/Template/Bit_manipulation)\
[Combination-Number](https://github.com/wisdompeak/LeetCode/tree/master/Template/Combination-Number)\
[RB\_Tree](https://github.com/wisdompeak/LeetCode/tree/master/Template/RB_Tree)\
[IO](https://github.com/wisdompeak/LeetCode/tree/master/Template/IO)

## Online IDE templates

### Coderpad

#### Java

```java
import org.junit.*;
import org.junit.runner.*;
import java.io.*;
import java.util.*;

public class Solution 
{

    @Test
    public void test1()
    {
      /* 

      */
    }    

    @Ignore
    @Test
    public void test3()
    {
        /* 

        */
    }

    public static void main(String[] args) 
    {
        JUnitCore.main("Solution");
    }    

}
```

#### Python

```python
import unittest

# import collections
from collections import deque
from collections import defaultdict
#from sortedcontainers import SortedList, SortedSet, SortedDict

import heapq
import re

class OnlineHackerRankCodePair(unittest.TestCase):

    @unittest.skip
    def test_Test1(self):
        self.assertEqual("a", "a")

    def test_Test2(self):
        self.assertFalse(False)
        
if __name__ == '__main__':
    unittest.main()
```

### Online courses

* 中文：<https://learn.1point3acres.com/courses/succeed-in-google-interview/>
