Jekyll2017-08-20T09:49:35+00:00http://www.sujaykundu.com/%20/sujaykundu777.github.ioWeb Developer,UI/UX EngineerSum Square Difference (Project Euler)2017-08-20T00:00:00+00:002017-08-20T00:00:00+00:00http://www.sujaykundu.com/%20/Sum-Square-Difference<p>My Submission for Project Euler Problem 6 - To Calculate and print out the difference of sumofsquares and squareofsum of n natural numbers.</p>
<script src="https://gist.github.com/sujaykundu777/ed1e93a4b5cfe71ef2af95257d8e750e.js"> </script>My Submission for Project Euler Problem 6 - To Calculate and print out the difference of sumofsquares and squareofsum of n natural numbers.Sum of Even Fibonacci Numbers2017-08-13T00:00:00+00:002017-08-13T00:00:00+00:00http://www.sujaykundu.com/%20/Sum-of-even-fibonacci-numbers<p>This is the program to solve the projecteuler.net question 2. I accomplished the results to be correct up to value of 7 digits of n.
Still needs to optimize, I guess it would work correctly in java for 20 digits n value if data type is taken as long int.</p>
<script src="https://gist.github.com/sujaykundu777/fe4708af33658460201484a0b5150970.js"> </script>This is the program to solve the projecteuler.net question 2. I accomplished the results to be correct up to value of 7 digits of n. Still needs to optimize, I guess it would work correctly in java for 20 digits n value if data type is taken as long int.Prime Numbers Up to N in C++2017-08-12T00:00:00+00:002017-08-12T00:00:00+00:00http://www.sujaykundu.com/%20/Prime-Numbers-Upto-N<p>This program demonstrates how to print prime numbers up to N (Natural Number) using C++.</p>
<script src="https://gist.github.com/sujaykundu777/880eed8182f82981277e6c27a01d9eb0.js"> </script>This program demonstrates how to print prime numbers up to N (Natural Number) using C++.Prime Numbers Upto N using Javascript2017-08-12T00:00:00+00:002017-08-12T00:00:00+00:00http://www.sujaykundu.com/%20/Prime-Numbers-Upto-N-using-JS<p>This post demonstrates on how to print prime numbers up to N natural numbers using Javascript</p>
<script src="https://gist.github.com/sujaykundu777/9f7d3f346173a096bfb1732756758ada.js"> </script>This post demonstrates on how to print prime numbers up to N natural numbers using JavascriptTools to try as a Developer/Designer2017-08-08T00:00:00+00:002017-08-08T00:00:00+00:00http://www.sujaykundu.com/%20/Tools-To-Try<p>Well, If you ask me that “What are the tools or softwares you prefer or would like to suggest as a designer or
developer ? “, I would come up with this list :</p>
<h2 id="wireframing-tools-">Wireframing Tools :</h2>
<p>Wireframe.cc - For Rapid Prototyping</p>
<p>Photoshop CC - For UI Development and Prototyping</p>
<h2 id="code-editors-for-web-development-">Code Editors for Web Development :</h2>
<p>Visual Studio Code</p>
<p>Sublime Text</p>
<p>Atom Editor</p>
<p>Brackets</p>
<p>Visual Studio Professional</p>
<p>Webstorm IDE</p>
<h2 id="tools">Tools</h2>
<p>Github and Git - Code Management</p>
<p>Filezilla / WinSCP - FTP</p>
<p>Putty - For Key Generation</p>
<p>Ubuntu For Windows</p>
<p>Slack and Trello - For Collaboration</p>
<h2 id="browsers">Browsers</h2>
<p>Google Chrome</p>
<p>Mozilla Firefox</p>Well, If you ask me that “What are the tools or softwares you prefer or would like to suggest as a designer or developer ? “, I would come up with this list :Building a Portfolio Website from Scratch Using React - Part 22017-08-08T00:00:00+00:002017-08-08T00:00:00+00:00http://www.sujaykundu.com/%20/Creating-a-portfolio-website-from-scratch-2<p>Today, we will be setting up our basic react setup. Lets create our first file</p>
<p>We need to include the react and react-dom libraries, JSX is optional in react and it requires builds and babel to compile it. I don’t want to use node, npm and webpack
in this tutorial. To keep it simple and at its best, we will be using plain ES6 Javascript. For more info , visit <a href="https://facebook.github.io/react/docs/react-without-jsx.html">React Without JSX</a>.</p>
<p>So, lets get started :</p>
<script src="https://gist.github.com/sujaykundu777/8cbb65f8b54a3305a35187cf111f56ae.js"> </script>
<p>Create a new file app.js in the directory ‘js/app.js’</p>
<script src="https://gist.github.com/sujaykundu777/5a2effa2c9bf0c4cf11a7bca175fc666.js"> </script>
<p>Now fire up the index.html in the browser to see the “Hello World” displayed using react.</p>Today, we will be setting up our basic react setup. Lets create our first fileBuilding a Portfolio Website from Scratch Using React Part-12017-08-07T00:00:00+00:002017-08-07T00:00:00+00:00http://www.sujaykundu.com/%20/Building-a-portfolio-website-from-scratch<p>How to create a portfolio website using React from Scratch</p>
<p>In this article, I am planning to build a complete portfolio website using React JS from Scratch. So lets
get started.</p>
<p>Step 1 : Create the prototype or Wireframe</p>
<p>To get started, I am going to create a wireframe. So this are the wireframes I came up with.</p>
<p><img src="http://sujaykundu.com/images/wireframe.png" alt="Wireframe 1" /></p>
<p><img src="http://sujaykundu.com/images/wireframe2.png" alt="Wireframe 2" /></p>
<p><img src="http://sujaykundu.com/images/wireframe3.png" alt="Wireframe 3" /></p>
<p><img src="http://sujaykundu.com/images/wireframe4.png" alt="Wireframe 4" /></p>
<p>In the next tutorial we will see how to setup react and render our first component. Jump to the next part here <a href="http://www.sujaykundu.com/Creating-a-portfolio-website-from-scratch-2/">Building a portfolio website from scratch using react part-2</a></p>How to create a portfolio website using React from ScratchPassing 2d Matrix as Function Parameter in C++2017-08-06T00:00:00+00:002017-08-06T00:00:00+00:00http://www.sujaykundu.com/%20/Passing-2d-matrix-as-function-parameter-in-cpp<p>Today i came across a problem while passing a 2d array or say matrix as a function parameter in C++. So after understanding how it works,
I implemented this program, which takes in dimensions of the matrix (rows and columns) and then use getdata and display data to take the input
for the matrix and display the matrix, after passing the matrix as a parameter to the function.</p>
<script src="https://gist.github.com/sujaykundu777/783c9ddc141f81f58fbff191480fa787.js"> </script>Today i came across a problem while passing a 2d array or say matrix as a function parameter in C++. So after understanding how it works, I implemented this program, which takes in dimensions of the matrix (rows and columns) and then use getdata and display data to take the input for the matrix and display the matrix, after passing the matrix as a parameter to the function.Linear Search Algorithm in C2017-07-26T00:00:00+00:002017-07-26T00:00:00+00:00http://www.sujaykundu.com/%20/Linear-Search-Algo-in-C<p>Linear search is also called as sequential search. Linear search is a method for finding a particular value in a list,
that consists of checking every one of its elements, one at a time and in sequence, until the desired one is found.</p>
<script src="https://gist.github.com/sujaykundu777/d2841c85a65b8ca4ed09c765698e8125.js"> </script>Linear search is also called as sequential search. Linear search is a method for finding a particular value in a list, that consists of checking every one of its elements, one at a time and in sequence, until the desired one is found.Kadane’s Algorithm in C2017-07-26T00:00:00+00:002017-07-26T00:00:00+00:00http://www.sujaykundu.com/%20/Kadanes-Algo-in-C<p>Kadane’s Algorithm is a Linear Time Algorithm which aims to find the maximum sum of a contiguous sub array of any array.</p>
<p>For eg. In this array { -1, -3, 4,-1 , 5 } . The Maximum sum of the sub array is 8. The Sub array with the maximumu sum is { 4 , -1 , 5 }.</p>
<h2 id="code-">Code :</h2>
<script src="https://gist.github.com/sujaykundu777/a1a72c88291f9ee72aaba02b80159bf7.js"> </script>
<h2 id="output-">Output :</h2>
<p><img src="http://sujaykundu.com/images/kadane.png" alt="Implementation of Kadane Algorithm in C" /></p>Kadane’s Algorithm is a Linear Time Algorithm which aims to find the maximum sum of a contiguous sub array of any array.