Giter Site home page Giter Site logo

Mohit Kalra's Projects

angular-styleguide icon angular-styleguide

Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.

bluejmastermind icon bluejmastermind

A simple implementation of the mastermind game in java built on BlueJ.

city-development icon city-development

Problem description Wayne Enterprises is developing a new city. They are constructing many buildings and plan to use software to keep track of all buildings under construction in this new city. A building record has the following fields: buildingNum: unique integer identifier for each building. executed_time: total number of days spent so far on this building. total_time: the total number of days needed to complete the construction of the building. The needed operations are: 1. Print (buildingNum) prints the triplet buildingNume,executed_time,total_time. 2. Print (buildingNum1, buildingNum2) prints all triplets bn, executed_tims, total_time for which buildingNum1 <= bn <= buildingNum2. 3. Insert (buildingNum,total_time) where buildingNum is different from existing building numbers and executed_time = 0. In order to complete the given task, you must use a min-heap and a Red-Black Tree (RBT). You must write your own code the min heap and RBT. Also, you may assume that the number of active buildings will not exceed 2000. A min heap should be used to store (buildingNums,executed_time,total_time) triplets ordered by executed_time. You mwill need a suitable mechanism to handle duplicate executed_times in your min heap. An RBT should be used store (buildingNums,executed_time,total_time) triplets ordered by buildingNum. You are required to maintain pointers between corresponding nodes in the min-heap and RBT. Wayne Construction works on one building at a time. When it is time to select a building to work on, the building with the lowest executed_time (ties are broken by selecting the building with the lowest buildingNum) is selected. The selected building is worked on until complete or for 5 days, whichever happens first. If the building completes during this period its number and day of completion is output and it is removed from the data structures. Otherwise, the building’s executed_time is updated. In both cases, Wayne Construction selects the next building to work on using the selection rule. When no building remains, the completion date of the new city is output.

conceptualsearch icon conceptualsearch

Train a Word2Vec model and Implement Conceptual Search\Semantic Search in Solr\Lucene - Simon Hughes Dice.com, Dice Tech Jobs

coursera icon coursera

Coursera is probably the first website to popularise MOOCs. This repository is to retain everything that I learn in my Coursera Courses.

dbi icon dbi

workspace for DBI projects

dbi4.2 icon dbi4.2

Assignment 4.2 DBI - Query Optimization

dbi_1 icon dbi_1

Database implementation - Spring 2020

flexsearch icon flexsearch

Next-Generation full text search library for Browser and Node.js

fluentpython icon fluentpython

Small python programs for understanding python in depth

ftp-client-server icon ftp-client-server

An out-band implementation of ftp client server architecture using socket programming in python

gfg icon gfg

GeeksForGeeks is a popular website with tons of content pertaining to coding. This repository is for practising GFG content.

head-up-display-for-cars icon head-up-display-for-cars

This Android application displays useful information like speed, location, time etcetera on the windshield of a car. Made using Android SDK. Uses Multithreading in Java.

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.