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
| # Im trying with same sized array here | |
| array1 = [10,11,12,18,20] | |
| array2 = [2,5,8,15,19] | |
| def GetMedianOfTwoArrays(array1, array2, a1Start, a1End, a2Start, a2End): | |
| # Find medians from the two arrays | |
| m1 = (a1Start + a1End) / 2 | |
| m2 = (a2Start + a2End) / 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
| using Newtonsoft.Json; | |
| using System.Collections.Generic; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| public class Program | |
| { | |
| public static void Main() | |
| { | |
| var task = Login(); |
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.Net.Mime; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace StackOverflow | |
| { | |
| public interface A { }; |
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; | |
| namespace GreedyKnapsack | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <entry xmlns="http://www.w3.org/2005/Atom"> | |
| <title type="text">:bbD</title> | |
| <link rel="self" type="application/atom+xml;type=entry" href="http://localhost:8177/dataelements/6970" /> | |
| <link rel="alternate" type="application/vnd.vizrt.payload+xml" href="http://localhost:8177/dataelements/6970/payload" /> | |
| <link rel="template" type="application/atom+xml;type=entry" href="http://localhost:8177/templates/13781" /> | |
| <link rel="thumbnailfeed" type="application/atom+xml;type=feed" href="http://localhost:8177/dataelements/6970/thumbnails" /> | |
| <content type="application/vnd.vizrt.payload+xml"> | |
| <payload model="http://localhost:8177/templates/13781/model" xmlns="http://www.vizrt.com/types"> | |
| <field name="-concept-variant-choice"> |
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
| import requests | |
| import json | |
| url = 'http://thor.gobd.co/vts/ping' | |
| payload = { | |
| 'provider' : 'finder', | |
| 'data' : [ | |
| { | |
| 'status' : 'A', | |
| 'number' : '123456', |
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.Net; | |
| using System.Text; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| using System.Web.Http.Controllers; | |
| using System.Web.Http; |
NewerOlder