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.*; | |
import java.math.*; | |
class battel | |
{ | |
int findValue(int x){ | |
BigInteger f = new BigInteger; | |
f = 1; | |
for(int i=1;i<=x;i++){ | |
f=f*i; |
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.Scanner | |
public class JavaProgram | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, x, y, t, hcf, lcm; | |
Scanner scan = new Scanner(System.in); | |
System.out.print("Enter Two Number : "); |
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.Scanner | |
public class JavaProgram | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, x, y, t, hcf, lcm; | |
Scanner scan = new Scanner(System.in); | |
System.out.print("Enter Two Number : "); |
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
/* | |
* @author Paritosh Mehta | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class NewClass { | |
public static boolean exists(ArrayList<Integer> u, int val){ | |
int flag = 0; |
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.io.*; | |
import java.util.*; | |
/** | |
* | |
* @author Paritosh Mehta | |
*/ | |
public class largest { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); |
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 project; | |
import java.util.*; | |
import java.io.*; | |
/** | |
* | |
* @author Paritosh Mehta | |
*/ | |
public class Payoda { | |
public static boolean checker(char[] x, char[] y){ |
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 Sorting; | |
import java.util.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
public class MergeSort { | |
public static void merge(int[] left, int[] right, int[] arr){ | |
int l, r, i=0, j=0, k=0; |
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 Programs; | |
import java.util.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
public class WhiteSpace { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Enter the String: "); |
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.*; | |
import java.io.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
import java.util.*; | |
public class JadenCase { | |
public static void main(String[] args){ | |
Scanner in = new Scanner(System.in); |
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
Installing Rails in Ubuntu: | |
https://gorails.com/setup/ubuntu/16.04 | |
Installing atom in rails: | |
http://tipsonubuntu.com/2016/08/05/install-atom-text-editor-ubuntu-16-04/ | |
Adding fields to user devise: | |
http://www.bogotobogo.com/RubyOnRails/RubyOnRails_Devise_Adding_User_Field_and_Customization_Update_Saved.php | |
Replace HTML to HAML |
OlderNewer