Giter Site home page Giter Site logo

Syed Ali Hassan's Projects

3sumclosesttotarget icon 3sumclosesttotarget

Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target.

4sumtotarget icon 4sumtotarget

Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.

allpathsfromroottoleave icon allpathsfromroottoleave

Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.

bst-of-min-height icon bst-of-min-height

Minimal Tree: Given a sorted (increasing order) array with unique integer elements, write an algorithm to create a binary search tree with minimal height.

checksubtree icon checksubtree

Check Subtree: Tl and T2 are two very large binary trees, with Tl much bigger than T2. Create an algorithm to determine...

chesslibrary icon chesslibrary

Create the necessary Java classes to implement a chess board (e.g. ChessBoard.java, Piece.java, etc...)

combinationsum icon combinationsum

Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

combinationsumnonrepeating icon combinationsumnonrepeating

Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

construct-quad-tree icon construct-quad-tree

We want to use quad trees to store an N x N boolean grid. Each cell in the grid can only be true or false.

container-with-most-water icon container-with-most-water

Find two lines, which together with x-axis forms a container, such that the container contains the most water.

countandsay icon countandsay

The count-and-say sequence is the sequence of integers beginning as follows:

countpaths_dynamicprogramming icon countpaths_dynamicprogramming

You are given a grid of cells with size N rows by M columns. A robot is situated at the bottom-left cell. Task is to reach top right.

decryptmessage icon decryptmessage

Encrypted messages consist of lowercase latin letters only, and every word is encrypted separately as follows

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.