# 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/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eric-zhang-seattle.gitbook.io/leetcode-1/templates/online_ide_templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
