Git Product home page Git Product logo

ciphrox / hacktoberfest2021 Goto Github PK

View Code? Open in Web Editor NEW
43.0 2.0 215.0 143.51 MB

for hacktoberfest

License: MIT License

Python 11.93% HTML 4.47% TypeScript 1.54% CSS 1.50% C 4.07% JavaScript 4.17% Java 42.20% C++ 8.56% Dart 2.46% Makefile 16.90% Roff 1.06% Shell 0.12% Objective-C 0.12% Kotlin 0.72% Ruby 0.06% Swift 0.04% Verilog 0.03% Rust 0.07%
hacktoberfest hacktoberfest-accepted hacktoberfest-accepted2021 hactoberfest2021

hacktoberfest2021's People

Contributors

akshaywakhare avatar alee-2000 avatar cipher-droid avatar cold-coffee-coder avatar gsanjana2712 avatar harisj58 avatar iicpsitcoe avatar jrani3677 avatar kunaljaiswal-17 avatar mr00magician avatar muskanjain2020 avatar mzk786 avatar pallavijadhav31 avatar passionate-coders-01 avatar prakanshu08 avatar prakanshu8600 avatar prakhar991 avatar priyansh-jain10 avatar pro-prodipto avatar rahulsahofficial avatar rashipandey87 avatar rishi-2211 avatar ronak-jethava avatar sagar2002malik avatar shivaay08 avatar thetanishkagupta avatar tusharsinha-2908 avatar uiuxwebsites avatar yash12-cha avatar yash19130 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hacktoberfest2021's Issues

Aggressive Cows in JAVA

QUESTION:
Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= xi <= 1,000,000,000).
His C (2 <= C <= N) cows don't like this barn layout and become aggressive towards each other once put into a stall. To prevent the cows from hurting each other, FJ wants to assign the cows to the stalls, such that the minimum distance between any two of them is as large as possible. What is the largest minimum distance?

INPUT:
t – the number of test cases, then t test cases follows.

  • Line 1: Two space-separated integers: N and C
  • Lines 2..N+1: Line i+1 contains an integer stall location, xi

OUTPUT:
For each test case output the largest minimum distance.

Longest Common Subsequence Between 2 strings

Given two sequences, find the length of the longest subsequence present in both of them. Both the strings are of uppercase

Input:

A = 6, B = 6
str1 = ABCDGH
str2 = AEDFHR

Output: 3

Explanation: LCS for input Sequences

“ABCDGH” and “AEDFHR” is “ADH” of
length 3.

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.