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
<ion-header> | |
<ion-navbar class="show-navbar android-attr" color="primary"> | |
<ion-title>Phone Verificatio</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content text-center no-bounce class="no-scroll"> | |
<ion-list class="no-scroll"> | |
<ion-toolbar color="secondary"> | |
<button ion-button clear (click)="openCountryList()" color="light"> |
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
Privacy Policy | |
Jun Goh built the Axis app as an Ad Supported app. This SERVICE is provided by Jun Goh at no cost and is intended for use as is. | |
This page is used to inform website visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. | |
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. | |
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Axis unless otherwise defined in this Privacy Policy. | |
Information Collection and Use |
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
import java.util.Map; | |
import java.util.HashMap; | |
public class TwoSum { | |
private static Map<Integer, Integer> numPositions; | |
public static int[] findTwoSum(int[] list, int sum) { | |
numPositions = new HashMap<>(); | |
System.out.println("sum: " + sum); | |
if (list == null || list.length <= 1) |
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
class Node { | |
public int value; | |
public Node left, right; | |
public Node(int value, Node left, Node right) { | |
this.value = value; | |
this.left = left; | |
this.right = right; | |
} | |
} |
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
import java.util.List; | |
import java.util.LinkedList; | |
public class TrainComposition { | |
private LinkedList<Integer> train; | |
public TrainComposition() { | |
this.train = new LinkedList<>(); | |
} |
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
import java.util.LinkedList; | |
import java.util.Arrays; | |
public class Path { | |
private String path; | |
public Path(String path) { | |
this.path = path; | |
} |
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
public class SortedSearch { | |
public static int countNumbers(int[] sortedArray, int lessThan) { | |
if (sortedArray == null || sortedArray.length == 0) | |
return -1; | |
int totalCount = sortedArray.length; | |
if (sortedArray[totalCount - 1] < lessThan) | |
return totalCount; | |
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
import java.util.Collection; | |
import java.util.LinkedList; | |
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.parsers.DocumentBuilder; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.NodeList; | |
import org.w3c.dom.Node; | |
import org.w3c.dom.Element; | |
import org.xml.sax.InputSource; | |
import java.io.StringReader; |
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
public class UserInput { | |
public static class TextInput { | |
protected StringBuilder inputSB; | |
public TextInput() { | |
inputSB = new StringBuilder(); | |
} | |
public void add(char c) { |
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
public class Palindrome { | |
public static boolean isPalindrome(String word) { | |
if (word.length() <= 1) | |
return true; | |
char[] wordArr = word.toLowerCase().toCharArray(); | |
int end = wordArr.length - 1; | |
int mid = wordArr.length / 2; | |
for (int i = 0; i < mid; i++) { |
OlderNewer