cybermax-008 / 50daysOfCoding---CyberNinja

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

50daysOfCoding---CyberNinja

"There is nothing that can't be done if you put enough time and effort. Believe It!"

Motivation and Commitment

This is part of Alexander Kallaway's 100DaysOfCode challenge. More details about the challenge can be found here: 100daysofcode.com. And, Thanks to James Priest from whom i referred some ideas to schedule my productivtiy and docmentation layout. I WILL CODE FOR COMING 50 DAYS WITHOUT FAIL TO START WITH! BELIEVE IT

Start Date End Date
January 21, 2021 March 15, 2021

Goals

  • Code daily either python, javascript, and C++.
  • Become proficient in problem solving.
  • Become proficient in Data structures and Algorithms.

Day 56: March 21, 2021 - Sunday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Pathsum in a Binary tree
  • Biniary tree level order traversal
  • Build BST from a sortedArray

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 55: March 20, 2021 - Saturday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Max depth of a BST
  • Min depth of a BST
  • Merge two Binary Trees

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 54: March 19, 2021 - Friday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Reverse a linked list using temp variable
  • find the elements in an array that gives the sum to a target using hasmap.
  • find valid paranthesis using stack

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 53: March 18, 2021 - Thursday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Finding the number of unique email address based on the rules given.
  • Find the intersection of two arrays using hashmap.(without using set)

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 52: March 17, 2021 - Wednesday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Remove duplicates from a sorted linked list.
  • Remove duplicates from a sorted linked list such a way only the unique elements are retained.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 51: March 16, 2021 - Tuesday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • Check if the linked list is a cycle - if the lst node is connected back to any of the intermediate nodes.
  • Check and print th index of the node if the linked list is a cycle.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 50: March 15, 2021 - Monday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • IMplementing group anagrams using hasmap with key as sorted word
  • Implementing group shifted pattern using hasmap with key as tuple that contains the shift pattern.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 49: March 14, 2021 - Sunday

Today's Project(s) :

  • Python : Leetcode Easy and Medium interview practice

Progress:

  • IMplementing Adding Two numbers represented in reverse orderd linked list
  • Find the first uniqur character in a string using hasmap

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 48: March 13, 2021 - Saturday

Today's Project(s) :

  • Python : Merge Sort

Progress:

  • IMplementing merge sort

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 47: March 12, 2021 - Friday

Today's Project(s) :

  • Python : spell check program

Progress:

  • IMplementing a program that checks if a word is a valid vocabulary.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 46: March 11, 2021 - Thursday

Today's Project(s) :

  • Python : Implementing Stock price problem, second largest in an array

Progress:

  • IMplementing of Buy and sale day of stock price with maximum profit

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 45: March 10, 2021 - Wednesday

Today's Project(s) :

  • Python : Implementing Binary Tree

Progress:

  • IMplementing of Binary Tree - insert_node , find_node, pre-order , in-order, post-order and bfs

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 44: March 09, 2021 - Tuesday

Today's Project(s) :

  • Python : Implementing Queue using doubly linked list

Progress:

  • IMplementing Queue ops like enqueue, dequeue, isEmpty, size. using only one pointer head

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 43: March 08, 2021 - Monday

Today's Project(s) :

  • Python : Implementing linked list using custom class(revision)

Progress:

  • IMplementing linked list ops : insert_at_beginning, insert_at_ending, insert_after_value and remove_by_value

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 42: March 07, 2021 - Sunday

Today's Project(s) :

  • Python : Implementing Queue and Stack using Linked list

Progress:

  • IMplementing Queue ops like enqueue, dequeue, isEmpty, size. using only one pointer head
  • Implementing Stack ops like push, pop using only one pointer head

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 41: March 06, 2021 - Saturday

Today's Project(s) :

  • Python : Implementing Queue and Stack using list

Progress:

  • IMplementing Queue ops like enqueue, dequeue, isEmpty, size with List methods.
  • Implementing Stack ops like push, pop with List methods.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 40: March 05, 2021 - Friday

Today's Project(s) :

  • Bash : Variables and echo statments

Progress:

  • Learned using Vi editor and initializing variables in bash script.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 39: March 04, 2021 - Thursday

Today's Project(s) :

  • Python : datetime and adjancency_list

Progress:

  • Program to find the daya between two dates
  • Program to find the end date from a start date using elapsed days
  • Build a graph based on adjancency list using dictionary

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 38: March 03, 2021 - Wednesday

Today's Project(s) :

  • Python : Bit manipulation

Progress:

  • Nearest integer that is power of 2 for a given number
  • Toggle the ith bit value.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 37: March 02, 2021 - Tuesday

Today's Project(s) :

  • Python : Bit manipulation

Progress:

  • Subset of a given set using bit manipulation

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 36: March 01, 2021 - Monday

Today's Project(s) :

  • Python : Bit manipulation

Progress:

  • Check if a number is odd or even using Bitwise operation
  • check if a number is power of 2

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 35: Febraury 28, 2021 - Sunday

Today's Project(s) :

  • Python : Intel interview question

Progress:

  • Product of array except self

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 34: Febraury 27, 2021 - Saturday

Today's Project(s) :

  • Python : CoderByte problems

Progress:

  • Letter count problem from CoderByte
  • PlusMinus problem from CoderByte

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 33: Febraury 26, 2021 - Friday

Today's Project(s) :

  • Python : templete macthing and stack length problem

Progress:

  • Implemented hackerrank python questions.

Link to work:

Thoughts: Time spent: 1 hr of coding.

Day 32: Febraury 25, 2021 - Thursday

Today's Project(s) :

  • Python : ThreeSum two pointer approach

Progress:

  • Learned how to implement two sum with sorted array.
  • Used similar approach to solve threeSum problem

Link to work:

Thoughts: Time spent: 1 hr of coding. Learned the usage of two pointers in sorted array.

Day 31: Febraury 24, 2021 - Wednesday

Today's Project(s) :

  • Python : Intel question leetcode

Progress:

  • IMplemented isomorphic problem
  • implemneted group anagrams problem

Link to work:

Thoughts: Time spent: 2 hrs of coding.

Day 30: Febraury 23, 2021 - Tuesday

Today's Project(s) :

  • Python : Intel question leetcode

Progress:

  • IMplemented valid paranthesis problem
  • implemented maximum_depth_binary_tree problem
  • implemented max sub array problem

Link to work:

Thoughts: Time spent: 2 hrs of coding. Learned about graph traversal and using recursion in trees

Day 29: Febraury 22, 2021 - Monday

Today's Project(s) :

  • Python : Bit manipulation and Linked list implementation

Progress:

  • Linked list implementation : creation, push, append, insert_after, delete_key, delete_pos, delete_start and end, search_key, getNthNode.
  • Check equality, check even or odd, decimal to binary, set ith bit, toggle ith bit, subset of set using Bit Manipulation.

Link to work:

Thoughts: Time spent: 2 hrs of coding. Learned bit manipulation importance in coding.

Day 28: Febraury 21, 2021 - Sunday

Today's Project(s) :

  • Python : check_ith_bit
  • Flickr dataset annotation csv preparation

Progress:

  • Check if ith bit of a number is 1 or not
  • Using the tokens txt of Flickr dataset, prepared the consolidated annotation csv that contains :img_name, index and captions

Link to work:

Thoughts: Time spent: 2 hrs of coding. Learned that read_csv in pandas is actually time consuming than custom read_csv fucntion that i created.

Day 27: Febraury 20, 2021 - Saturday

Today's Project(s) :

  • Python : Bit manipulation

Progress:

  • Check if a number is power of 2 : bitwise ops , iteration and recursion.
  • Count number of 1s in bit representation of a number : bitwise,and recursion

Link to work:

Thoughts: Time spent: 1.30 hr.

Day 26: Febraury 19, 2021 - Friday

Today's Project(s) :

  • Python : lexographic smallest palindrome

Progress:

  • COmpleted lexographic smallest palindrom problem from TextIQ interview

Link to work:

Thoughts: Time spent: 1.30 hr.

Day 25: Febraury 18, 2021 - Thursday

Today's Project(s) :

  • C++ : implementation of insertion, deletion, search, display and find Nth node.

Progress:

  • Linked list : insert node at beginning, at the end, after a specified node, after a key.
  • Linked list : deletion of node at beginning, at the end, node position and node key
  • Search a linked list for a given node.
  • Find Nth node in given linked list.

Link to work:

Thoughts: Time spent: 1 hr.

Day 24: Febraury 17, 2021 - Wednesday

Today's Project(s) :

  • C++ : Implementation of Linked List and pointers

Progress:

  • C++ implemnetation of creation of linked list
  • C++ implementation of insertion and deletion of linked list

Link to work:

Thoughts: Time spent: 1 hr.

Day 23: Febraury 16, 2021 - Tuesday

Today's Project(s) :

  • Python : CCC 2016 J3 and J4

Progress:

  • Completed J3 and J4 from CCC 2016

Link to work:

Thoughts: Time spent: 1 hr.

Day 22: Febraury 15, 2021 - Monday

Today's Project(s) :

  • C++ : Implementation of Linked List and Insertion at front, end and after some node.

Progress:

  • Create a linked list
  • Traverse a linked list
  • Add a node at front
  • Add a node after certain node
  • Add a node at the end.

Link to work:

Thoughts: Time spent: 2 hrs.

Day 21: Febraury 14, 2021 - Sunday

Today's Project(s) :

  • C++ : Amazon leetcode

Progress:

  • Solved twoSum problem using bruteForce and One pass approach.

Link to work:

Thoughts: Time spent: 2 hrs. Learned about using Vector and hash map in C++. auto keyword usage.

Day 20: Febraury 11, 2021 - Thursday

Today's Project(s) :

  • Python : Amazon Leetcode Trees/Graphs

Progress:

  • Solved Binary tree traversal level by level, Binary tree traversal zig zag, Number of Isalnds

Link to work:

Thoughts: Time spent: 4 hrs. Learned about DFS and Using recursion in these kind of problems.

Day :19 Febraury 10, 2021 - Wednesday

Today's Project(s) :

  • Python : Amazon Leetcode Revision

Progress:

  • Solved all problems from Arrays, Linked List, sorting.

Link to work:

Thoughts: Time spent: 4 hrs. Was able to solve all the problems once again. Learned the fundamantal basis of each problem.

Day 18: Febraury 09, 2021 - Tuesday

Today's Project(s) :

  • Python : Amazon Leetcode Sorting

Progress:

  • Solved KclosetPoints, KthLargestElement, topKfrequentElements

Link to work:

Thoughts: Time spent: 4 hrs.Was able to use sorting with key parameter. Learned to use lambda funtion.

Day 17: Febraury 08, 2021 - Monday

Today's Project(s) :

  • Python : Amazon Leetcode Linked List
  • Python : CCC 2016 J5

Progress:

  • Solved merging two linked list and CCC 2016 J5 problem

Link to work:

Thoughts: Time spent: 4 hrs.

Day 16: Febraury 07, 2021 - Sunday

Today's Project(s) :

  • Python : Amazon Leetcode Linked List
  • Python : Linked List using deque and custom class.

Progress:

  • Solved adding two linked list

Link to work:

Thoughts: Time spent: 4 hrs.

Day 15: Febraury 06, 2021 - Saturday

Today's Project(s) :

  • Python : Amazon Leetcode Arrays and Strings and Trees

Progress:

  • Solved twoSum, atoi, most common word, sliding window problem, and ValidBST

Link to work:

Thoughts: Time spent: 4 hrs.

Day 14: Febraury 05, 2021 - Friday

Today's Project(s) :

Progress:

  • Solved three_sum and longest substring problems

Link to work:

Thoughts: Time spent: 2 hrs. Learned about sliding window concept for getting the longest substring.

Day 13: Febraury 04, 2021 - Thursday

Today's Project(s) :

  • Python : Amazon Leetcode Arrays and Strings : Two sum

Progress:

  • Solved two_sum question with 2 approaches

Link to work:

Thoughts: Time spent: 2 hrs. Was able to understand the limitations of brute firce approach and learned to optimize using hashmap.

Day 12: Febraury 03, 2021 - Wednesday

Today's Project(s) :

  • Python : Quora interview questions

Progress:

  • Solved total of 4 interview question

Link to work:

Thoughts: Time spent: 1hr. Was able to solve 4 questions in one hour. Good Job!

Day 11: Febraury 02, 2021 - Tuesday

Today's Project(s) :

Progress:

  • COmpleted J3 of 2018 CCC paper

Link to work:

Thoughts: Time spent: 1hr.Was able to solve only one question.

Day 10: Febraury 01, 2021 - Monday

Today's Project(s) :

Progress:

  • COmpleted J2,J3 in CCC 2014
  • COmpleted J1,J2,J3 CCC 2015

Link to work:

Thoughts: Time spent: 2hrs. Wsa able to solve CCC problems today.

Day 9: January 31, 2021 - Sunday

Today's Project(s) :

Progress:

  • COmpleted J1,J2 and J3 in CCC 2013
  • COmpleted J1 CCC 2014

Link to work:

Thoughts: Time spent: 2hrs. Wsa able to solve CCC problems today.

Day 8: January 30, 2021 - Saturday

Today's Project(s) :

  • FCC : JS - ES6 track
  • Python : CCC 2011 and CCC 2012

Progress:

  • Completed 15 to 31 problems in ES6 track. All problems are completed in this track now.
  • COmpleted J2 and J3 in CCC 2011
  • COmpleted J1,J2 and J3 in CCC 2012

Link to work:

Thoughts: Time spent: 2hrs. Wsa able to solve CCC problems today. Learned Object Literal declaration,Classes, getters and setters, modules - script tag,import and export, and Promise

Day 7: January 29, 2021 - Friday

Today's Project(s) :

  • FCC : JS - ES6 track

Progress:

  • Completed 0 to 15 problems in ES6 track.
  • Learned about arrow function, usage of let, var and const, rest parameter to get variable arguments in functions, spread parameter to unpack array elements, Deconstructive assignment to extarct values from the object, assign variables to object, pass an object as function parameter.

Link to work:

Thoughts: Time spent: 1hr 30mins. Learned a lot of new concepts in Javascript that are unique to this language alone.

Day 6: January 28, 2021 - Thursday

Today's Project(s) :

  • Python : few problems from CCC_2010 and CCC_2011

Progress:

  • Completed J1 from 2011 and J2,J3 from 2010

Link to work:

Thoughts: Time spent: 1hr 30mins. I struggle with problems that involve finding possible combinations of acheiving a sum or target.

Day 5: January 27, 2021 - Wednesday

Today's Project(s) :

  • Python : CCC_2010 J1 and Element-wise arithematic ops for two lists
  • FCC : JS Basics track

Progress:

Link to work:

Thoughts: Time spent in coding : 1hr 40min. Learned Graph and BFS from hacker earth. Still need to practice more problems in this topipc. In Javascript, Learned and solved problems on Recursion. But, still unable to understand its working beneth the hood.

Day 4: January 26, 2021 - Tuesday

Today's Project(s) :

  • Python : Graph Representation using Adjacency List and BFS Basic implementation using Python Progress:
  • Script for Undirected graph creation.
  • Script for directed graph creation.
  • Script for BFS traversal

Link to work:

Thoughts: Time spent in coding : 1hr 40min. Learned Graph and BFS from hacker earth. Still need to practice more problems in this topipc.

Day 3: January 25, 2021 - Monday

Today's Project(s) :

  • Python : CCC contest 2008 and 2009 questions(question_link) Progress:
  • completed J1, J2 and J3 in 2008
  • completed J1 and J2 in 2009

Link to work:

Thoughts: Time spent in coding : 2 hr 48min. Though i was able to do only 5 questions, learned new things.

Day 2: January 23, 2021 - Saturday

Today's Project(s) :

  • FCC : JS Algo and DS
  • Python : Checking the test case scores

Progress:

  • completed 92 to 100 code snippets in Basic JS: JS Algo and DS track.
  • Was able to complete the code that computes the score of test suite performance.

Link to work:

Thoughts: Bit off the track today! Need to be more determined from tomorrow.

Day 1: January 22, 2021 - Friday

Today's Project(s) :

  • FCC : JS Algo and DS
  • Python : datetime module

Progress:

  • completed 59 to 91 code snippets in Basic JS: JS Algo and DS track.
  • Completed two programs using datetime module in python

Link to work:

Thoughts: Was able to code for 2 hours! Feeling productive and postive towards this journey.

Pre-launch - Github,Twitter and plan

Day 0: January 21, 2021 - Thursday

Today's Project(s) :

  • Github Profile and Repo
  • Twitter profile
  • FCC Profile

Progress:

  • Completed creation github repo and FCC profile.
  • Started "Javscript Algorithms and Data structure Certification" - completed 58/111 exercises in Baisc JS.

Link to work:

Thoughts: Happy to begin this journey! Believe It!

About


Languages

Language:Python 75.1%Language:C++ 24.7%Language:Shell 0.2%