Question Details

@if($allocation)

Allocated To:

  • {{ $allocation->university }} → {{ $allocation->college }} → {{ $allocation->dept }} → {{ $allocation->batch }}
@else

Not Allocated

This question is not allocated yet.

@endif
Title: {{ $coding->title }}
Level: {{ $coding->level }}

Question:

{!! nl2br(e( preg_replace( "/\n+/", "\n", strip_tags( str_replace( ['

', '
', '
', '

'], ["\n", "\n", "\n", ""], $coding->question ) ) ) )) !!}

@if(!$isSql && !empty($coding->answer))

Answer:

{{ $coding->answer }}
@endif @if(!empty($coding->solution) && filter_var($coding->solution, FILTER_VALIDATE_URL))
Click here to view solution
@endif @if($coding->i1 || $coding->i2 || $coding->i3 || $coding->i4)

Input Examples:

@if($coding->i1)
Input 1: {{ $coding->i1 }}
@endif @if($coding->i2)
Input 2: {{ $coding->i2 }}
@endif @if($coding->i3)
Input 3: {{ $coding->i3 }}
@endif @if($coding->i4)
Input 4: {{ $coding->i4 }}
@endif
@endif @if($coding->t1 || $coding->t2 || $coding->t3 || $coding->t4)

Output Examples:

@if($coding->t1)
Output 1: {{ $coding->t1 }}
@endif @if($coding->t2)
Output 2: {{ $coding->t2 }}
@endif @if($coding->t3)
Output 3: {{ $coding->t3 }}
@endif @if($coding->t4)
Output 4: {{ $coding->t4 }}
@endif
@endif
Created: {{ $coding->created_at->format('M d, Y h:i A') }}
Last Updated: {{ $coding->updated_at->format('M d, Y h:i A') }}