This file contains 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" standalone="no"?> | |
<configurations XML_version="1.2" id="configurations_0"> | |
<configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | |
<instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> | |
<connection XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" id="Texas Instruments XDS100v2 USB Emulator_0"> | |
<instance XML_version="1.2" href="drivers/tixds100v2c28x.xml" id="drivers" xml="tixds100v2c28x.xml" xmlpath="drivers"/> | |
<instance XML_version="1.2" href="drivers/tixds100v2cla.xml" id="drivers" xml="tixds100v2cla.xml" xmlpath="drivers"/> | |
<property Type="choicelist" Value="2" id="The JTAG nTRST Boot-Mode"/> | |
<property Type="choicelist" Value="2" id="The Power-On-Reset Boot-Mode"/> | |
<property Type="choic |
This file contains 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
// all the libraries that we are using | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Data; | |
using System.Windows.Documents; |
This file contains 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
package com.interview; | |
import java.util.Arrays; | |
public class ConsecutiveDistance { | |
public static class Element implements Comparable<Element> { | |
public int magnitude; |