Pages

Wednesday 25 October 2017

A Tryst With Chess- Coding challenge Solved with Backtracking Algorithm | Developed by PY.

Today I m posting solution developed by me for this coding challenge. Got Crazy with the Backtracking Algorithm.

PROBLEM STATEMENT: 

You are given a 10X10 chessboard with a knight on coordinate (I,J). You have to find the number of blocks on the chessboard that the knight can be at in exactly N moves.

NOTE:

The knight can move from its position in the diagram to all the coordinates marked by X
in the following diagram in one move. For the 10X10 chessboard (1,1) is the top-left corner,(1,10) is the top-right corner and (10,10) is the bottom-right corner.




INPUT :

Input will consist of three space separated integers I
,J,N

N is less than 10.

OUTPUT:

Print a single integer denoting the number of blocks on the chessboard that the knight can be at in exactly N
moves.


Sample Input: 3 3 1
Sample Output: 8

Friday 11 August 2017

pyslidegrabber | My Tool that downloads slides from specified slide link of slideshare website by bypassing its authentication( No need to Login/Signup )

Hello All,

               Somedays back I was surfing over www.slideshare.net website. Then at the moment I clicked on download button on the webpage. It started to ask authentication details.Then I thought to create a tool which is capable of grabbing slides by bypassing the security. So I started my work on building this tool. I have used NodeJS framework.

I named the tool as pyslidegrabber. Developed By PY.
 
I felt excited once it started to work. Let's see how my tool actually works.....



Soo... This is how the pyslidegrabbber tool it actually works.

Thank You.

Saturday 5 November 2016

My Tree tool (pytree) for cloning a directory Structure - Release 1.0

Hey All...

Today I am posting my new tool to display all directories and sub directories in a given path.

As you can see now as in the following Video of it.

This tool works and gets all the directories and its structure.This tool is built in a really free and memory managed manner.

Here I used the DataStructure. Ended up with Recursion. :)

Thursday 27 October 2016

Food Truck Problem by IEEEXtreme

Hello All..Today I am here with my solution for a Coding contest problem.

Problem begins now...

Madhu has a food-truck called "The Yummy Goods" that goes to a different business Hotspot everyday at lunch! Madhu wants to perform location-based advertising to folks in offices near her halt. To do this she uses the GPS location as a longitude and a latitude at the Stop and decides on radius (r) value. She wants to broadcast advertisement SMSes, to customers within this radius, advertising her food-truck.

She needs your help to generate the list of Phone numbers of such folks. She has access to big file of telecom data, which among other details, contains the phone number, longitude, and latitude of active cell-phone users in the city at that moment.


Thursday 20 October 2016

My Real time Web Project - ID Card Generator

Hey all...

Today I am here to expose you my first real time application.. Here I am posting my images how it actually works.

It's actually a Id card generator. It generates ID Cards as per the given data of the bank user. Below are the Images which would show you how it works.

Thursday 4 August 2016

Logic Pyramid Solution

Hey all..

I am here today to explain you about how to solve the Logic Pyramid problem as below..

Yeah if the user gives input as n then we have to build a n sized pyramid like this with the specified series..

  00006
 00028 00066
00120 00190 00276
First Logic of series

let 6 and 28 be known
so
Eg
Case 1#

28 - 6 = 22
22+ 16=38
38+28 = 66

Case 2#

66  -  28 =  38
38 + 16 = 54
54 + 66 = 120

Now Code for this in C Language

Wednesday 20 July 2016

Back with Output of TextEditor

Hmmm...

Now Back with CODING my work done...

Output below of my TextEditor...



So here is the Output of whatever I said about My Project about TextEditor  in the previous post I posted.

Click Here - TextEditor