Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add templates for CSharp and Go for assignment H #11

Open
wants to merge 2 commits into
base: java-templates
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions H/csharp/code.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#if !REMOTE_JUDGE
public class Node {
public int Value { get; private set; }
public Node Next { get; set; }

public Node(int value, Node next)
{
Value = value;
Next = next;
}
}
#endif

public class Solution {
public static Node Reverse(Node head, int left, int right) {
// Your code
// “ヽ(´▽`)ノ”
}
}
14 changes: 14 additions & 0 deletions H/go/code.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main

/**
* Definition for a Node.
* type Node struct {
* data string
* Next *Node
* }
*/

func Reverse(head *Node, left int, right int) *Node {
// Your code
// “ヽ(´▽`)ノ”
}