Skip to content

Instantly share code, notes, and snippets.

View GarimaDamani's full-sized avatar
🇮🇳

Garima Damani GarimaDamani

🇮🇳
View GitHub Profile
// Name: get_job_details_by_name.groovy
// Author: Garima Damani
// ---------------------------------------------------------------
// This script gets the below job details with the given job name:
// *Full name
// *Last build number
// *Last build time
// *Last build cause
// *Last success build number
// *Last result
@GarimaDamani
GarimaDamani / .java
Created May 2, 2017 06:27
@hackerrank: Algorithm: Dynamic Programming: Knapsack
import java.util.*;
public class Knapsack {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int noOfInputs = input.nextInt();
for (int x = 0; x < noOfInputs; x++) {