{
  "request": {
    "url": "https://demo.golsh2e.com/eReKruit/api/codingassessment/by-accesskey/DNPAW2"
  },
  "response": {
    "ok": true,
    "status_code": 200,
    "kind": "coding",
    "data": [
      {
        "id": 2,
        "title": "Armstrong",
        "difficulty": "easy",
        "position": "software developer",
        "points": 10,
        "completionStatus": 0,
        "accesskey": "DNPAW2",
        "statement": "An Armstrong number (also known as a narcissistic number) is a number that is equal to the sum of its own digits raised to the power of the number of digits. For example, 153 is an Armstrong number because 1^3 + 5^3 + 3^3 = 153. Your task is to write a function that determines whether a given number is an Armstrong number or not.",
        "hints": [
          {
            "id": 3,
            "label": "Input: A positive integer",
            "type": "input"
          },
          {
            "id": 4,
            "label": "Output: True if the number is an Armstrong number, otherwise False",
            "type": "output"
          }
        ],
        "skills": [
          {
            "id": 6,
            "name": "Java"
          },
          {
            "id": 7,
            "name": "Python"
          },
          {
            "id": 8,
            "name": "JavaScript"
          },
          {
            "id": 9,
            "name": "C++"
          },
          {
            "id": 10,
            "name": "Ruby"
          }
        ],
        "templates": [
          {
            "id": 5,
            "language": "javascript",
            "templateCode": "// Function to check if a number is Armstrong\nfunction isArmstrong(num) {\n    // Your code here\n}"
          },
          {
            "id": 6,
            "language": "python",
            "templateCode": "def is_armstrong(num):\n    # Your code here"
          },
          {
            "id": 7,
            "language": "java",
            "templateCode": "public class Armstrong {\n    public static boolean isArmstrong(int num) {\n        // Your code here\n    }\n}"
          },
          {
            "id": 8,
            "language": "cpp",
            "templateCode": "#include <iostream>\nusing namespace std;\n\nbool isArmstrong(int num) {\n    // Your code here\n}"
          }
        ]
      }
    ],
    "is_empty": false,
    "candidate": {
      "id": "2",
      "name": "Java",
      "email": "",
      "phone": "",
      "position_applied": "software developer",
      "skill_set": [
        "{'id': 6, 'name': 'Java'}",
        "{'id': 7, 'name': 'Python'}",
        "{'id': 8, 'name': 'JavaScript'}",
        "{'id': 9, 'name': 'C++'}",
        "{'id': 10, 'name': 'Ruby'}"
      ],
      "current_stage": null
    },
    "error": null
  }
}