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
""" | |
{ | |
"cretaed_after" : "Sun Dec 11 00:41:43 IST 2016" | |
"aim_of_program" : "checking whether the given key is present in the dictionary or not" | |
"If it is, then we have to insert the corresponding value into one list" | |
"Keys can be in any order" | |
"coded_by" : "Rishikesh Agrawani" | |
} |
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
/* | |
{ | |
"cretaed_after" : "Mon Dec 12 20:42:22 IST 2016" | |
"aim_of_program" : "To use Split() and Fields() functions for getting the list of words separated by spaces" | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
package main | |
import "fmt" |
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
/* | |
{ | |
"cretaed_after" : "Mon Dec 12 21:13:14 IST 2016" | |
"aim_of_program": "Creating slices in 3 different ways" | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
package main | |
import "fmt" |
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
/* | |
{ | |
"cretaed_after" : "Mon Dec 12 22:35:30 IST 2016" | |
"aim_of_program": "channels (Printing table of numbers from 1 to 10)" | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
package main | |
import "fmt" |
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
""" | |
{ | |
"date_of_creation" : "Tue Dec 13 2016", | |
"aim_of_script" : "To iterate over 2 lists simultaneously using a single for loop", | |
"coded_by" : "Rishikesh Agrawani", | |
} | |
""" | |
""" ----------- 1st example --------------- """ | |
nums = [ 12,33, 56] |
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
""" | |
{ | |
"date_of_creation" : "13 decemeber 2016", | |
"aim_of_script" : "To print sum of primes available in the entered numbers", | |
"my_code_on_geeksforgeeks" :"http://www.practice.geeksforgeeks.org/problem-page.php?pid=1266" | |
"coded_by" : "Rishikesh Agrawani", | |
} | |
""" | |
def is_prime(n): | |
if n == 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
/* | |
{ | |
"cretaed_after" : "13 Dec 2016" | |
"aim_of_program" : "To check whether the linked list is palindrome or not" | |
"coded_by" : "Rishikesh Agrawani" | |
"geeksforgeeks_problem_link":"http://www.practice.geeksforgeeks.org/problem-page.php?pid=700391" | |
"source_lang":"C" | |
"Compiler":"gcc(4.8.4)" | |
} | |
*/ |
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
/* | |
{ | |
"date_of_creation" => "14 Dec 2016, Wed", | |
"aim_of_program" => "To reverse a singly linked list using iterative method", | |
"coded_by" => "Rishikesh Agrawani", | |
"memory" => "I wrote code in C on 13 Dec's evening on a paper with diagram and implemented on 14 Dec's morning, executed it on office(1 run execution)" | |
"Go_version" => "1.7", | |
} | |
*/ |
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
/* | |
{ | |
"date_of_creation" => "14 Dec 2016, Wed", | |
"aim_of_program" => "To print the front most digit of integers", | |
"coded_by" => "Rishikesh Agrawani", | |
"memory" => "1 submit execution, tail recursion" | |
"Go_version" => "1.7", | |
} | |
*/ |
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
/* | |
{ | |
"date_of_creation" => "14 Dec 2016, Wed", | |
"aim_of_program" => "To print sum of all digits of each number of a given list of positive integers using recursion", | |
"coded_by" => "Rishikesh Agrawani", | |
"memory" => "1 submit execution, recursion" | |
"Go_version" => "1.7", | |
} | |
*/ | |
package main |