Giter Site home page Giter Site logo

CHANDRAGUPTA's Projects

circular-jail-puzzle icon circular-jail-puzzle

There is a circular jail with 100 cells numbered 1-100. Each cell has an inmate and the door is locked. One night the jailor gets drunk and starts running around the jail in circles. In his first round he opens each door. In his second round he visits every 2nd door (2,4,6---) and shuts the door. In the 3rd round he visits every 3rd door (3,6,9---) and if the door is shut he opens it, if it is open he shuts it. This continues for 100 rounds (i.e. 4,8,12 ---; 5,10,15 ---; ---; 49,98 etc.) and exhausted the jailor falls down. How many prisoners found their doors open after 100 rounds?

deep-soli icon deep-soli

Gesture Recognition Using Neural Networks with Google's Project Soli Sensor

electronic-duster icon electronic-duster

this was my first year project, i made a duster for chalkboard which contain small vaccume cleaner

iot-smart-energy-meter icon iot-smart-energy-meter

IoT smart meter reads real time power consumption from from a regular household energy meter and uploads it to host website

samsungpractice icon samsungpractice

Problems for Samsung Research Institute, India - 3 hours Online Test.

shell-utility-file-copy icon shell-utility-file-copy

Using system calls to handle all file operations, write a program in C/C++/Java that copies a file from one location to another, and deletes the original version. The program should take two file names as its arguments, the first one being the file to copy, and the second being the new location. The new location should not be over-written if it already exists. The program should check for bad inputs and should work for files of arbitrary size. In addition, the program should gracefully handle error conditions while copying the file. Make sure to use system calls (e.g., open) and not the C library for manipulating files (e.g., fopen).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.