This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| {% load static %} <!-- New line --> | |
| <html lang="en" dir="ltr"> | |
| <head> | |
| <title>Court Reservation</title> | |
| <script language = "javascript"> | |
| function showReserved(num) | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from reserveScreen.models import Court | |
| from courts1.models import Loaded_Team,Team,Player | |
| import time | |
| def assigner(): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Xamarin.Forms; | |
| using Plugin.Media; | |
| using Plugin.Media.Abstractions; | |
| using Microsoft.ProjectOxford.Vision; | |
| using Microsoft.ProjectOxford.Vision.Contract; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/python3 | |
| import os | |
| import sys | |
| import math | |
| # | |
| # Complete the divisors function below. | |
| # | |
| def divisors(n): | |
| if(n%2==1): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | global arr | |
| arr = [] | |
| def actualCheck(root): | |
| if root != None: | |
| actualCheck(root.left) | |
| arr.append(root.data) | |
| actualCheck(root.right) | |
| return arr | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/python3 | |
| import os | |
| import sys | |
| def equalStacks(h1, h2, h3): | |
| r1 = list(reversed(h1)) | |
| r2 = list(reversed(h2)) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def cubeAnalysis(cubeList): | |
| indexMin = cubeList.index(min(cubeList)) | |
| # index of the lowest cube | |
| first = cubeList[0:indexMin] | |
| second = cubeList[indexMin:] | |
| # breaking up into two separate subarrays ( image a sloped valley) | |
| firstSort = sorted(first) | |
| # reversing and sorting the first array | |
| reversedFirst = firstSort[::-1] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/python3 | |
| import math | |
| import os | |
| import random | |
| import re | |
| import sys | |
| # Complete the isBalanced function below. | |
| def isBalanced(s): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def textEditor(arr): | |
| word = "" | |
| oneTwosStack = [] | |
| for i in arr: | |
| if(i[0] == '1'): | |
| toApp = str(i[2:]) | |
| word+=toApp | |
| oneTwosStack.append((1, toApp)) | |
| # adding in items | |
| elif(i[0] == '2'): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/python3 | |
| import math | |
| import os | |
| import random | |
| import re | |
| import sys | |
| # Complete the climbingLeaderboard function below. | |
| def climbingLeaderboard(scores, alice): | 
OlderNewer