using System.Text.RegularExpressions;
using System.Collections.Generic;
public static void Main()
Dictionary<Guid, Dictionary<string, string>> questionTemplates = new Dictionary<Guid, Dictionary<string, string>>();
var question1 = Guid.NewGuid();
var question2 = Guid.NewGuid();
var question3 = Guid.NewGuid();
var question4 = Guid.NewGuid();
var question5 = Guid.NewGuid();
var q1Templates = new Dictionary<string, string>();
q1Templates.Add("c", @"class Result {
* Complete the 'getCharacterCount' function below.
* The function is expected to return a INTEGER_ARRAY.
* The function accepts following parameters:
public static List<Integer> getCharacterCount(String inputString)
q1Templates.Add("cpp", @"class Result {
* Complete the 'getCharacterCount' function below.
* The function is expected to return a INTEGER_ARRAY.
* The function accepts following parameters:
public static List<Integer> getCharacterCount(String inputString)
q1Templates.Add("java", @"class Result {
* Complete the 'getCharacterCount' function below.
* The function is expected to return a INTEGER_ARRAY.
* The function accepts following parameters:
public static List<Integer> getCharacterCount(String inputString)
q1Templates.Add("php", @"class Result {
* Complete the 'getCharacterCount' function below.
* The function is expected to return a INTEGER_ARRAY.
* The function accepts following parameters:
public static List<Integer> getCharacterCount(String inputString)
questionTemplates.Add(question1, q1Templates);
questionTemplates.Add(question2, q1Templates);
questionTemplates.Add(question3, q1Templates);
questionTemplates.Add(question4, q1Templates);
questionTemplates.Add(question5, q1Templates);
Console.WriteLine(JsonSerializer.Serialize(questionTemplates));