Skip to content

Instantly share code, notes, and snippets.

View hygull's full-sized avatar
😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.

Rishikesh Agrawani hygull

😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.
View GitHub Profile
@hygull
hygull / To calculate the factorial of 10.java
Created March 23, 2017 18:49
To calculate the factorial of 10 created by hygull - https://repl.it/GbML/3
/*
* created on : 23 March 2017.
* aim : To calculate the factorial of 10.
* coded by : Rishikesh Agrawani.
*/
class Main
{
public static void main(String[] cmdArgs)
{
@hygull
hygull / To find out duplicated numbers between 1 to n numbers.java
Created March 23, 2017 19:04
To find out duplicated numbers between 1 to n numbers created by hygull - https://repl.it/GbNO/7
/*
* created on : 23 March 2017.
* aim : To find out duplicated numbers between 1 to n numbers.
* coded by : Rishikesh Agrawani.
*/
import java.util.ArrayList;
import java.util.Scanner;
class Main
{
public static void main(String[] cmdArgs)
@hygull
hygull / Main.java
Created March 25, 2017 05:28
To remove duplicates from sorted array created by hygull - https://repl.it/GbQ9/2
/*
* created on : 23 March 2017.
* aim : To remove duplicates from sorted array.
* coded by : Rishikesh Agrawani.
*/
import java.util.Scanner;
import java.util.ArrayList;
class Main
{
@hygull
hygull / To use array in javascript.js
Created March 28, 2017 18:59
To use array in javascript created by hygull - https://repl.it/Girb/6
/*
{
"created_on" : "28/03/2017",
"aim" : "To use array in javascript",
"coded_by" : "Rishikesh Agrawani"
}
*/
/*Displaying all the elements of an array*/
@hygull
hygull / To use concat() method with an arrays and strings.js
Last active March 29, 2017 16:46
To use concat() method with an arrays and strings created by hygull - https://repl.it/GkpE/2
/*
{
"created_on" : "29 march 2017",
"aim" : "To use concat() method with arrays and strings",
"coded_by" : "Rishikesh Agrawani"
}
*/
var odds_arr = [ 3, 7, 9, 1, 5 ]
@hygull
hygull / To use array's prototype constructor.js
Created March 29, 2017 17:51
To use array's prototype constructor created by hygull - https://repl.it/Gkz7/0
/*
{
"created_on" : "29 march 2017",
"aim" : "To use array's prototype constructor",
"coded_by" : "Rishikesh Agrawani"
}
*/
//Defining an array of integer items
var arr = [ 1, 2, 3, 4, 5, 6, 7 ]
@hygull
hygull / To print ASCII values of all characters of strings in an array.js
Created March 29, 2017 18:35
To print ASCII values of all characters of strings in an array created by hygull - https://repl.it/GlE3/0
/*
{
"created_on" : "29 march 2017",
"aim" : "To print ASCII values of all characters of strings in an array",
"coded_by" : "Rishikesh Agrawani"
}
*/
function print_ascii(word){
for(var i = 0; i < word.length; i++)
{
@hygull
hygull / To print characters from their related UNICODE number.js
Created March 29, 2017 18:55
To print characters from their related UNICODE number created by hygull - https://repl.it/GlGK/0
@hygull
hygull / Using list, tuple, dictionary, lambda expression in Python.py
Last active March 30, 2017 06:32
Using list, tuple, dictionary, lambda expression in Python created by hygull - https://repl.it/Glgo/2
"""
{
"created_on" : "30 march 2017",
"aim" : "Using list, tuple, dictionary, lambda expression in Python",
"python_version" : "2.7.12",
"coded_by" : "Rishikesh Agrawani"
}
"""
@hygull
hygull / Using functions for object oriented programming.js
Created March 30, 2017 07:55
Using functions for object oriented programming created by hygull - https://repl.it/GmCJ/0
/*
{
"created_on" : "30 march 2017",
"aim" : "Using functions for object oriented programming (for beginners)",
"node_version" : "v7.0.0",
"coded_by" : "Rishikesh Agrawani"
}
*/
/* Example 1*/