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 show binary combinations according to the number of binary variables.go
Last active December 14, 2016 19:05
To show binary combinations according to the number of binary variables created by hygull - https://repl.it/EqTC/1
/*
{
"date_of_creation" => "15 Dec 2016, Thurs",
"aim_of_program" => "To show binary combinations according to the number of binary variables",
"coded_by" => "Rishikesh Agrawani",
"memory" => "iteration"
"Go_version" => "1.7",
}
*/
package main
@hygull
hygull / To use string's Replace() function for replacing text(s) from a string.go
Created December 15, 2016 04:30
To use string's Replace() function for replacing text(s) from a string created by hygull - https://repl.it/Eqeu/3
/*
{
"created_before" => "Thu Dec 15 09:45:14 IST 2016",
"aim_of_program" => "To use string's Replace() function for replacing text(s) from a string",
"coded_by" => "Rishikesh Agrawani",
}
*/
package main
import (
@hygull
hygull / Doubly linked list(Inserting nodes at beginning and traversing in both directions).go
Last active December 15, 2016 09:37
Doubly linked list(Inserting nodes at beginning and traversing in both directions) created by hygull - https://repl.it/Eqmp/0
/*
{
"date_of_creation" => "15 Dec 2016, Thurs",
"aim_of_program" => "Doubly linked list(Inserting nodes at beginning and traversing in both directions)",
"coded_by" => "Rishikesh Agrawani",
"memory" => "Thought of the day, Type assertion",
"resources" => "{ https://tour.golang.org/methods/15 (A tour of Go : Type assertions) },
{ http://stackoverflow.com/questions/14289256/cannot-convert-data-type-interface-to-type-string-need-type-assertion }",
"Go_version" => "1.7",
}
@hygull
hygull / Doubly linked list(Inserting nodes at end and traversing in both directions).go
Last active December 15, 2016 16:02
Doubly linked list(Inserting nodes at end and traversing in both directions) created by hygull - https://repl.it/ErFV/0
/*
{
"date_of_creation" => "15 Dec 2016, Thurs(evening)",
"aim_of_program" => "Doubly linked list(Inserting nodes at end and traversing in both directions)",
"coded_by" => "Rishikesh Agrawani",
"memory" => "Thought of the day, Type assertion",
"resources" => "{ https://tour.golang.org/methods/15 (A tour of Go : Type assertions) },
{ http://stackoverflow.com/questions/14289256/cannot-convert-data-type-interface-to-type-string-need-type-assertion }",
"Go_version" => "1.7",
}
@hygull
hygull / Binary Tree (creating a specific BT and traversing through it).go
Last active December 16, 2016 05:49
Binary Tree (creating a specific BT and traversing through it) created by hygull - https://repl.it/Er6q/0
/*
{ "date_of_creation" : "Sun Dec 11 2016" },
{ "posted_on" : "Fri Dec 16 2016" },
{ "aim_of_program" : "To create a binary tree data structure and traverse through it" },
{ "coded_by" : "Rishikesh Agrawani" },
{ "Go_version" : "1.7" },
*/
package main
import "fmt"
@hygull
hygull / To generate MD5 hashes(checksums) in 3 different ways.go
Last active December 16, 2016 06:08
To generate MD5 hashes(checksums) in 3 different ways created by hygull - https://repl.it/Erau/1
/*
{
"date_of_creation" => "16 Dec 2016, Thurs",
"aim_of_program" => "To generate MD5 hashes(checksums) in 3 different ways",
"coded_by" => "Rishikesh Agrawani",
"generate_online" => "{ http://onlinemd5.com/ },
{ http://www.md5.cz/ }",
"Go_version" => "1.7",
}
*/
@hygull
hygull / To generate SHA1 hashes(checksums) in 3 different ways.go
Last active December 16, 2016 08:17
To generate SHA1 hashes(checksums) in 3 different ways created by hygull - https://repl.it/Erd4/3
/*
{
"date_of_creation" => "16 Dec 2016, Thurs",
"aim_of_program" => "To generate SHA1 hashes(checksums) in 3 different ways ",
"coded_by" => "Rishikesh Agrawani",
"generate_online" => "{ http://onlinemd5.com/ },
{ http://www.md5.cz/ }",
"Go_version" => "1.7",
}
*/
@hygull
hygull / Postorder order traversal in BT (Recursive implementation).go
Created December 16, 2016 18:09
Postorder order traversal in BT (Recursive implementation) created by hygull - https://repl.it/EsD6/0
/*
{ "Date of creation" => "Fri Dec 16 2016" }
{ "Aim of program" => "Postorder order traversal in BT(Recursive implementation)" }
{ "Coded by" => "Rishikesh Agrawani" }
{ "Go version" => "1.7" }
*/
package main
import "fmt"
@hygull
hygull / Inorder order traversal in BT ( Recursive implementation).go
Last active December 17, 2016 01:14
Inorder order traversal in BT ( Recursive implementation) created by hygull - https://repl.it/EsCK/3
/*
{ "Date of creation" => "Fri Dec 16 2016" }
{ "Aim of program" => "Inorder order traversal in BT(Recursive implementation)" }
{ "Coded by" => "Rishikesh Agrawani" }
{ "Go version" => "1.7" }
*/
package main
import "fmt"
@hygull
hygull / Preorder order traversal in Binary tree (Recursive implementation).go
Created December 17, 2016 00:59
Preorder order traversal in Binary tree (Recursive implementation) created by hygull - https://repl.it/EsAs/3
/*
{ "Date of creation" => "Fri Dec 16 2016" }
{ "Aim of program" => "Preorder order traversal in BT(Recursive implementation)" }
{ "Coded by" => "Rishikesh Agrawani" }
{ "Go version" => "1.7" }
*/
package main
import "fmt"