Giter Club home page Giter Club logo

finetech2k20's Introduction

FineTech2k20

Programming assignments for the course Fine Techniques using C language.

Developmental Env

Code developed, debugged and tested on UBUNTU 18.04

Execution

make  
./a.out

3_Jug_Problem

Find out all the solutions to A-B-C jug problem.  
You are given 3 jugs of capacities A litres, B litres, and C litres.  
The initial state/initial volumes of water in the jugs is X, Y, and Z.  
Your goal is to get to a final state of P, Q, R litres.  
There are no markings on the jugs (you can’t just measure off litres directly).  
You may pour from a jug to any other jug (you have to transfer from one jug to another until either one jug becomes empty or the other full) . You cannot waste water. The total amount of water in the entire system must be the same as initial.

BST_HardDisk

Implement a binary search tree on a harddisk.  
Your tree should support the following operations (mentioned in the header file)
insert  
delete based on the key  
traversal - inorder : space separated values followed by \n  
traversal - pre-order : space separated values followed by \n  

My_Malloc

Fix the flaw in malloc, by implementing your own malloc with best-fit allocation policy.

Second_Max

Implement Stepanov's Binary counter to find the second biggest in an array of integers.  
The number of elements may be an exact power of 2 or may not be.  
The algorithm should have at most n + logn - 2 comparisons.(However when n is odd the number of comparisons can be little more)  
It may use extra space proportional to (logn) ^ 2.

finetech2k20's People

Contributors

pvn-a avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.