Flipkart Interview Question for SDE-2s


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
8
of 8 vote

This is just a sample code for reference......do not consider it as working code

package com.lms;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;

public class LMSImpl {

	static List<BookDetails> books = new ArrayList<BookDetails>();
	static Map<Integer, ArrayList<BookIssueDetails>> hm = new HashMap<Integer, ArrayList<BookIssueDetails>>();

	public static void main(String[] args) {
		addIssueDetails();
		System.out.println("Library Management System");
		System.out.println("Press 1 to add Book");
		System.out.println("Press 2 to issue a book");
		System.out.println("Press 3 to return a book");
		System.out.println("Press 4 to print the book details");
		System.out.println("Press 5 to print complete issue detais");
		System.out.println("Press 6 to exit");
		Scanner c = new Scanner(System.in);
		int choice = c.nextInt();
		do {
			switch (choice) {
			case 1:
				addBook();
				break;
			case 2:
				issueBook();
				break;
			case 3:
				returnBook();
				break;
			case 4:
				printBookDetails();
				break;
			case 5:
				printCompleteIssueDetails();
				break;
			case 6:
				System.exit(0);
			default:
				System.out.println("Invalid input");
				break;
			}
			c = new Scanner(System.in);
			choice = c.nextInt();
		} while (choice > 0 && choice < 6);
	}

	private static void printCompleteIssueDetails() {
		for (Map.Entry<Integer, ArrayList<BookIssueDetails>> entry : hm
				.entrySet()) {

			for (BookIssueDetails b : entry.getValue()) {
				System.out.println(entry.getKey() + "  " + b.getBookNumber()
						+ "  " + b.getName() + "  " + b.getNoOfBookIssued()
						+ "  " + b.getIssueDate() + "  " + b.getReturnDate());
			}
		}
	}

	private static void printBookDetails() {
		for (BookDetails b : books) {
			System.out.print(b.getBookNumber() + "  " + b.getBookName() + "  "
					+ b.getCount() + "  " + b.getPrice());
		}
	}

	private static void returnBook() {
		System.out.println("Enter studentId & bookId");
		Scanner c = new Scanner(System.in);
		int id = c.nextInt();
		int bookId = c.nextInt();
		List<BookIssueDetails> bd = hm.get(id);
		for (BookIssueDetails b : bd) {
			if (b.getBookNumber() == bookId) {
				Date issueDate = b.getIssueDate();
				Date todayDate = new Date();

				long diff = todayDate.getTime() - issueDate.getTime();

				long diffDays = diff / (24 * 60 * 60 * 1000);

				if (diffDays > 10) {
					int fine = (int) (diffDays - 10);
					fine = fine * 10;
					System.out.println("Total Fine " + fine + " Rs.");
				}
			}
		}

	}

	private static void addIssueDetails() {
		BookIssueDetails bd1 = new BookIssueDetails(1,"abc",1,new Date("04/04/2015"));
		BookIssueDetails bd2 = new BookIssueDetails(2,"xyz",1,new Date());
		BookIssueDetails bd3 = new BookIssueDetails(3,"mn",1,new Date());
		BookIssueDetails bd4 = new BookIssueDetails(4,"u",1,new Date());
		ArrayList<BookIssueDetails> list1 = new ArrayList<BookIssueDetails>();
		ArrayList<BookIssueDetails> list2 = new ArrayList<BookIssueDetails>();
		ArrayList<BookIssueDetails> list3 = new ArrayList<BookIssueDetails>();
		ArrayList<BookIssueDetails> list4 = new ArrayList<BookIssueDetails>();
		
		list1.add(bd1);
		list2.add(bd2);
		list3.add(bd3);
		list4.add(bd4);
		hm.put(100, list1);
		hm.put(101, list2);
		hm.put(103, list3);
		hm.put(104, list4);
		
	}

	private static void issueBook() {
		System.out.println("Enter Student Id,Booknumber, name and price");
		Scanner c = new Scanner(System.in);
		int studentId = c.nextInt();
		Scanner c1 = new Scanner(System.in);
		int bookNumber = c1.nextInt();
		Scanner c2 = new Scanner(System.in);
		String name = c2.nextLine();
		Scanner c3 = new Scanner(System.in);
		String issueDate = c3.nextLine();
		BookIssueDetails newIssuedBook = new BookIssueDetails();
		newIssuedBook.setName(name);
		newIssuedBook.setBookNumer(bookNumber);
		
		ArrayList<BookIssueDetails> l=new ArrayList<BookIssueDetails>();
		

		SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yyyy");

		try {

			Date date = formatter.parse(issueDate);
			newIssuedBook.setIssueDate(date);

		} catch (ParseException e) {
			e.printStackTrace();
		}

		
		List<BookIssueDetails> list = hm.get(studentId);
		for (BookIssueDetails b : list) {
			int value = b.getNoOfBookIssued();
			newIssuedBook.setNoOfBookIssued(++value);
			l.add(newIssuedBook);
			if (value > 2)
				System.out.println("You already issued max(2) books");
			else
				hm.put(studentId, l);
		}
	}

	private static void addBook() {
		System.out.println("Enter Booknumber, name and price");
		Scanner c = new Scanner(System.in);
		int bookNumber = c.nextInt();
		String name = c.nextLine();
		Double price = c.nextDouble();

		BookDetails book = new BookDetails(bookNumber, name, price);
		books.add(book);

	}

}


package com.lms;

import java.util.Date;


public class BookIssueDetails {
	
	private int bookNumber;
	private String name;
	private int totalBookAllowed = 2;
	private int noOfBookIssued=0;
	private Date issueDate;
	private Date returnDate;
	
	public BookIssueDetails(int bookNumber,String name,int n,Date issueDate)
	{
		this.bookNumber=bookNumber;
		this.name=name;
		this.noOfBookIssued=n;
		this.issueDate=issueDate;
	}

	public BookIssueDetails() {
	}

	public int getBookNumber() {
		return bookNumber;
	}

	public void setBookNumer(int bookNumber) {
		this.bookNumber = bookNumber;
	}

	public int getNoOfBookIssued() {
		return noOfBookIssued;
	}

	public void setNoOfBookIssued(int noOfBookIssued) {
		this.noOfBookIssued = noOfBookIssued;
	}

	public Date getIssueDate() {
		return issueDate;
	}

	public void setIssueDate(Date issueDate) {
		this.issueDate = issueDate;
	}

	public Date getReturnDate() {
		return returnDate;
	}

	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getTotalBookAllowed() {
		return totalBookAllowed;
	}

	public void setTotalBookAllowed(int totalBookAllowed) {
		this.totalBookAllowed = totalBookAllowed;
	}

	


}


package com.lms;

public class BookDetails {
	private int bookNumber;
	private String bookName;
	private Double price;
	private int count;

	public BookDetails(int bookNumber,String name,Double price)
	{
		this.bookNumber=bookNumber;
		this.bookName=name;
		this.price=price;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	public int getBookNumber() {
		return bookNumber;
	}

	public void setBookNumber(int bookNumber) {
		this.bookNumber = bookNumber;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
}


package com.lms;

public class StudentDetails {
	private int studentId;
	private String studentName;
	private String className;

	public int getStudentId() {
		return studentId;
	}

	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

}

- Vir Pratap Uttam May 11, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

she she

- abhishek rana chavan February 10, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

{she she}

- nitin chavan February 10, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

ur to how is about
is problem?????

- Anonymous February 25, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

package ims.com;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;

public class LMSImpl {

static List<BookDetails> books = new ArrayList<BookDetails>();
static Map<Integer, ArrayList<BookIssueDetails>> hm = new HashMap<Integer, ArrayList<BookIssueDetails>>();

public static void main(String[] args) {
addIssueDetails();
System.out.println("Library Management System");
System.out.println("Press 1 to add Book");
System.out.println("Press 2 to issue a book");
System.out.println("Press 3 to return a book");
System.out.println("Press 4 to print the book details");
System.out.println("Press 5 to print complete issue detais");
System.out.println("Press 6 to exit");
Scanner c = new Scanner(System.in);
int choice = c.nextInt();
do {
switch (choice) {
case 1:
addBook();
break;
case 2:
issueBook();
break;
case 3:
returnBook();
break;
case 4:
printBookDetails();
break;
case 5:
printCompleteIssueDetails();
break;
case 6:
System.exit(0);
default:
System.out.println("Invalid input");
break;
}
c = new Scanner(System.in);
choice = c.nextInt();
} while (choice > 0 && choice < 6);
}

private static void printCompleteIssueDetails() {
for (Map.Entry<Integer, ArrayList<BookIssueDetails>> entry : hm
.entrySet()) {

for (BookIssueDetails b : entry.getValue()) {
System.out.println(entry.getKey() + " " + b.getBookNumber()
+ " " + b.getName() + " " + b.getNoOfBookIssued()
+ " " + b.getIssueDate() + " " + b.getReturnDate());
}
}
}

private static void printBookDetails() {
for (BookDetails b : books) {
System.out.print(b.getBookNumber() + " " + b.getBookName() + " "
+ b.getCount() + " " + b.getPrice());
}
}

private static void returnBook() {
System.out.println("Enter studentId & bookId");
Scanner c = new Scanner(System.in);
int id = c.nextInt();
int bookId = c.nextInt();
List<BookIssueDetails> bd = hm.get(id);
for (BookIssueDetails b : bd) {
if (b.getBookNumber() == bookId) {
Date issueDate = b.getIssueDate();
Date todayDate = new Date();

long diff = todayDate.getTime() - issueDate.getTime();

long diffDays = diff / (24 * 60 * 60 * 1000);

if (diffDays > 10) {
int fine = (int) (diffDays - 10);
fine = fine * 10;
System.out.println("Total Fine " + fine + " Rs.");
}
}
}

}

private static void addIssueDetails() {
BookIssueDetails bd1 = new BookIssueDetails(1,"abc",1,new Date("04/04/2015"));
BookIssueDetails bd2 = new BookIssueDetails(2,"xyz",1,new Date());
BookIssueDetails bd3 = new BookIssueDetails(3,"mn",1,new Date());
BookIssueDetails bd4 = new BookIssueDetails(4,"u",1,new Date());
ArrayList<BookIssueDetails> list1 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list2 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list3 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list4 = new ArrayList<BookIssueDetails>();

list1.add(bd1);
list2.add(bd2);
list3.add(bd3);
list4.add(bd4);
hm.put(100, list1);
hm.put(101, list2);
hm.put(103, list3);
hm.put(104, list4);

}

private static void issueBook() {
System.out.println("Enter Student Id,Booknumber, name and price");
Scanner c = new Scanner(System.in);
int studentId = c.nextInt();
Scanner c1 = new Scanner(System.in);
int bookNumber = c1.nextInt();
Scanner c2 = new Scanner(System.in);
String name = c2.nextLine();
Scanner c3 = new Scanner(System.in);
String issueDate = c3.nextLine();
BookIssueDetails newIssuedBook = new BookIssueDetails();
newIssuedBook.setName(name);
newIssuedBook.setBookNumer(bookNumber);

ArrayList<BookIssueDetails> l=new ArrayList<BookIssueDetails>();


SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yyyy");

try {

Date date = formatter.parse(issueDate);
newIssuedBook.setIssueDate(date);

} catch (ParseException e) {
e.printStackTrace();
}


List<BookIssueDetails> list = hm.get(studentId);
for (BookIssueDetails b : list) {
int value = b.getNoOfBookIssued();
newIssuedBook.setNoOfBookIssued(++value);
l.add(newIssuedBook);
if (value > 2)
System.out.println("You already issued max(2) books");
else
hm.put(studentId, l);
}
}

private static void addBook() {
System.out.println("Enter Booknumber, name and price");
Scanner c = new Scanner(System.in);
int bookNumber = c.nextInt();
String name = c.nextLine();
Double price = c.nextDouble();

BookDetails book = new BookDetails(bookNumber, name, price);
books.add(book);

}

}


package com.lms;

import java.util.Date;


public class BookIssueDetails {

private int bookNumber;
private String name;
private int totalBookAllowed = 2;
private int noOfBookIssued=0;
private Date issueDate;
private Date returnDate;

public BookIssueDetails(int bookNumber,String name,int n,Date issueDate)
{
this.bookNumber=bookNumber;
this.name=name;
this.noOfBookIssued=n;
this.issueDate=issueDate;
}

public BookIssueDetails() {
}

public int getBookNumber() {
return bookNumber;
}

public void setBookNumer(int bookNumber) {
this.bookNumber = bookNumber;
}

public int getNoOfBookIssued() {
return noOfBookIssued;
}

public void setNoOfBookIssued(int noOfBookIssued) {
this.noOfBookIssued = noOfBookIssued;
}

public Date getIssueDate() {
return issueDate;
}

public void setIssueDate(Date issueDate) {
this.issueDate = issueDate;
}

public Date getReturnDate() {
return returnDate;
}

public void setReturnDate(Date returnDate) {
this.returnDate = returnDate;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public int getTotalBookAllowed() {
return totalBookAllowed;
}

public void setTotalBookAllowed(int totalBookAllowed) {
this.totalBookAllowed = totalBookAllowed;
}




}


package com.lms;

public class BookDetails {
private int bookNumber;
private String bookName;
private Double price;
private int count;

public BookDetails(int bookNumber,String name,Double price)
{
this.bookNumber=bookNumber;
this.bookName=name;
this.price=price;
}

public int getCount() {
return count;
}

public void setCount(int count) {
this.count = count;
}
public int getBookNumber() {
return bookNumber;
}

public void setBookNumber(int bookNumber) {
this.bookNumber = bookNumber;
}

public String getBookName() {
return bookName;
}

public void setBookName(String bookName) {
this.bookName = bookName;
}

public Double getPrice() {
return price;
}

public void setPrice(Double price) {
this.price = price;
}
}


package com.lms;

public class StudentDetails {
private int studentId;
private String studentName;
private String className;

public int getStudentId() {
return studentId;
}

public void setStudentId(int studentId) {
this.studentId = studentId;
}

public String getStudentName() {
return studentName;
}

public void setStudentName(String studentName) {
this.studentName = studentName;
}

public String getClassName() {
return className;
}

public void setClassName(String className) {
this.className = className;
}

- Anonymous August 01, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

library managemnent

- omini September 26, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I don't have any code please give me the autput of the upper code

- Nasreen khan October 23, 2018 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

This is just a sample code for reference......do not consider it as working code

package com.lms;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;

public class LMSImpl {

static List<BookDetails> books = new ArrayList<BookDetails>();
static Map<Integer, ArrayList<BookIssueDetails>> hm = new HashMap<Integer, ArrayList<BookIssueDetails>>();

public static void main(String[] args) {
addIssueDetails();
System.out.println("Library Management System");
System.out.println("Press 1 to add Book");
System.out.println("Press 2 to issue a book");
System.out.println("Press 3 to return a book");
System.out.println("Press 4 to print the book details");
System.out.println("Press 5 to print complete issue detais");
System.out.println("Press 6 to exit");
Scanner c = new Scanner(System.in);
int choice = c.nextInt();
do {
switch (choice) {
case 1:
addBook();
break;
case 2:
issueBook();
break;
case 3:
returnBook();
break;
case 4:
printBookDetails();
break;
case 5:
printCompleteIssueDetails();
break;
case 6:
System.exit(0);
default:
System.out.println("Invalid input");
break;
}
c = new Scanner(System.in);
choice = c.nextInt();
} while (choice > 0 && choice < 6);
}

private static void printCompleteIssueDetails() {
for (Map.Entry<Integer, ArrayList<BookIssueDetails>> entry : hm
.entrySet()) {

for (BookIssueDetails b : entry.getValue()) {
System.out.println(entry.getKey() + " " + b.getBookNumber()
+ " " + b.getName() + " " + b.getNoOfBookIssued()
+ " " + b.getIssueDate() + " " + b.getReturnDate());
}
}
}

private static void printBookDetails() {
for (BookDetails b : books) {
System.out.print(b.getBookNumber() + " " + b.getBookName() + " "
+ b.getCount() + " " + b.getPrice());
}
}

private static void returnBook() {
System.out.println("Enter studentId & bookId");
Scanner c = new Scanner(System.in);
int id = c.nextInt();
int bookId = c.nextInt();
List<BookIssueDetails> bd = hm.get(id);
for (BookIssueDetails b : bd) {
if (b.getBookNumber() == bookId) {
Date issueDate = b.getIssueDate();
Date todayDate = new Date();

long diff = todayDate.getTime() - issueDate.getTime();

long diffDays = diff / (24 * 60 * 60 * 1000);

if (diffDays > 10) {
int fine = (int) (diffDays - 10);
fine = fine * 10;
System.out.println("Total Fine " + fine + " Rs.");
}
}
}

}

private static void addIssueDetails() {
BookIssueDetails bd1 = new BookIssueDetails(1,"abc",1,new Date("04/04/2015"));
BookIssueDetails bd2 = new BookIssueDetails(2,"xyz",1,new Date());
BookIssueDetails bd3 = new BookIssueDetails(3,"mn",1,new Date());
BookIssueDetails bd4 = new BookIssueDetails(4,"u",1,new Date());
ArrayList<BookIssueDetails> list1 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list2 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list3 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list4 = new ArrayList<BookIssueDetails>();

list1.add(bd1);
list2.add(bd2);
list3.add(bd3);
list4.add(bd4);
hm.put(100, list1);
hm.put(101, list2);
hm.put(103, list3);
hm.put(104, list4);

}

private static void issueBook() {
System.out.println("Enter Student Id,Booknumber, name and price");
Scanner c = new Scanner(System.in);
int studentId = c.nextInt();
Scanner c1 = new Scanner(System.in);
int bookNumber = c1.nextInt();
Scanner c2 = new Scanner(System.in);
String name = c2.nextLine();
Scanner c3 = new Scanner(System.in);
String issueDate = c3.nextLine();
BookIssueDetails newIssuedBook = new BookIssueDetails();
newIssuedBook.setName(name);
newIssuedBook.setBookNumer(bookNumber);

ArrayList<BookIssueDetails> l=new ArrayList<BookIssueDetails>();


SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yyyy");

try {

Date date = formatter.parse(issueDate);
newIssuedBook.setIssueDate(date);

} catch (ParseException e) {
e.printStackTrace();
}


List<BookIssueDetails> list = hm.get(studentId);
for (BookIssueDetails b : list) {
int value = b.getNoOfBookIssued();
newIssuedBook.setNoOfBookIssued(++value);
l.add(newIssuedBook);
if (value > 2)
System.out.println("You already issued max(2) books");
else
hm.put(studentId, l);
}
}

private static void addBook() {
System.out.println("Enter Booknumber, name and price");
Scanner c = new Scanner(System.in);
int bookNumber = c.nextInt();
String name = c.nextLine();
Double price = c.nextDouble();

BookDetails book = new BookDetails(bookNumber, name, price);
books.add(book);

}

}


package com.lms;

import java.util.Date;


public class BookIssueDetails {

private int bookNumber;
private String name;
private int totalBookAllowed = 2;
private int noOfBookIssued=0;
private Date issueDate;
private Date returnDate;

public BookIssueDetails(int bookNumber,String name,int n,Date issueDate)
{
this.bookNumber=bookNumber;
this.name=name;
this.noOfBookIssued=n;
this.issueDate=issueDate;
}

public BookIssueDetails() {
}

public int getBookNumber() {
return bookNumber;
}

public void setBookNumer(int bookNumber) {
this.bookNumber = bookNumber;
}

public int getNoOfBookIssued() {
return noOfBookIssued;
}

public void setNoOfBookIssued(int noOfBookIssued) {
this.noOfBookIssued = noOfBookIssued;
}

public Date getIssueDate() {
return issueDate;
}

public void setIssueDate(Date issueDate) {
this.issueDate = issueDate;
}

public Date getReturnDate() {
return returnDate;
}

public void setReturnDate(Date returnDate) {
this.returnDate = returnDate;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public int getTotalBookAllowed() {
return totalBookAllowed;
}

public void setTotalBookAllowed(int totalBookAllowed) {
this.totalBookAllowed = totalBookAllowed;
}




}


package com.lms;

public class BookDetails {
private int bookNumber;
private String bookName;
private Double price;
private int count;

public BookDetails(int bookNumber,String name,Double price)
{
this.bookNumber=bookNumber;
this.bookName=name;
this.price=price;
}

public int getCount() {
return count;
}

public void setCount(int count) {
this.count = count;
}
public int getBookNumber() {
return bookNumber;
}

public void setBookNumber(int bookNumber) {
this.bookNumber = bookNumber;
}

public String getBookName() {
return bookName;
}

public void setBookName(String bookName) {
this.bookName = bookName;
}

public Double getPrice() {
return price;
}

public void setPrice(Double price) {
this.price = price;
}
}


package com.lms;

public class StudentDetails {
private int studentId;
private String studentName;
private String className;

public int getStudentId() {
return studentId;
}

public void setStudentId(int studentId) {
this.studentId = studentId;
}

public String getStudentName() {
return studentName;
}

public void setStudentName(String studentName) {
this.studentName = studentName;
}

public String getClassName() {
return className;
}

public void setClassName(String className) {
this.className = className;
}

}
- Vir Pratap Uttam 4 years ago | Flag Reply
0
of 0 vote
package ims.com;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;

public class LMSImpl {

static List<BookDetails> books = new ArrayList<BookDetails>();
static Map<Integer, ArrayList<BookIssueDetails>> hm = new HashMap<Integer, ArrayList<BookIssueDetails>>();

public static void main(String[] args) {
addIssueDetails();
System.out.println("Library Management System");
System.out.println("Press 1 to add Book");
System.out.println("Press 2 to issue a book");
System.out.println("Press 3 to return a book");
System.out.println("Press 4 to print the book details");
System.out.println("Press 5 to print complete issue detais");
System.out.println("Press 6 to exit");
Scanner c = new Scanner(System.in);
int choice = c.nextInt();
do {
switch (choice) {
case 1:
addBook();
break;
case 2:
issueBook();
break;
case 3:
returnBook();
break;
case 4:
printBookDetails();
break;
case 5:
printCompleteIssueDetails();
break;
case 6:
System.exit(0);
default:
System.out.println("Invalid input");
break;
}
c = new Scanner(System.in);
choice = c.nextInt();
} while (choice > 0 && choice < 6);
}

private static void printCompleteIssueDetails() {
for (Map.Entry<Integer, ArrayList<BookIssueDetails>> entry : hm
.entrySet()) {

for (BookIssueDetails b : entry.getValue()) {
System.out.println(entry.getKey() + " " + b.getBookNumber()
+ " " + b.getName() + " " + b.getNoOfBookIssued()
+ " " + b.getIssueDate() + " " + b.getReturnDate());
}
}
}

private static void printBookDetails() {
for (BookDetails b : books) {
System.out.print(b.getBookNumber() + " " + b.getBookName() + " "
+ b.getCount() + " " + b.getPrice());
}
}

private static void returnBook() {
System.out.println("Enter studentId & bookId");
Scanner c = new Scanner(System.in);
int id = c.nextInt();
int bookId = c.nextInt();
List<BookIssueDetails> bd = hm.get(id);
for (BookIssueDetails b : bd) {
if (b.getBookNumber() == bookId) {
Date issueDate = b.getIssueDate();
Date todayDate = new Date();

long diff = todayDate.getTime() - issueDate.getTime();

long diffDays = diff / (24 * 60 * 60 * 1000);

if (diffDays > 10) {
int fine = (int) (diffDays - 10);
fine = fine * 10;
System.out.println("Total Fine " + fine + " Rs.");
}
}
}

}

private static void addIssueDetails() {
BookIssueDetails bd1 = new BookIssueDetails(1,"abc",1,new Date("04/04/2015"));
BookIssueDetails bd2 = new BookIssueDetails(2,"xyz",1,new Date());
BookIssueDetails bd3 = new BookIssueDetails(3,"mn",1,new Date());
BookIssueDetails bd4 = new BookIssueDetails(4,"u",1,new Date());
ArrayList<BookIssueDetails> list1 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list2 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list3 = new ArrayList<BookIssueDetails>();
ArrayList<BookIssueDetails> list4 = new ArrayList<BookIssueDetails>();

list1.add(bd1);
list2.add(bd2);
list3.add(bd3);
list4.add(bd4);
hm.put(100, list1);
hm.put(101, list2);
hm.put(103, list3);
hm.put(104, list4);

}

private static void issueBook() {
System.out.println("Enter Student Id,Booknumber, name and price");
Scanner c = new Scanner(System.in);
int studentId = c.nextInt();
Scanner c1 = new Scanner(System.in);
int bookNumber = c1.nextInt();
Scanner c2 = new Scanner(System.in);
String name = c2.nextLine();
Scanner c3 = new Scanner(System.in);
String issueDate = c3.nextLine();
BookIssueDetails newIssuedBook = new BookIssueDetails();
newIssuedBook.setName(name);
newIssuedBook.setBookNumer(bookNumber);

ArrayList<BookIssueDetails> l=new ArrayList<BookIssueDetails>();


SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yyyy");

try {

Date date = formatter.parse(issueDate);
newIssuedBook.setIssueDate(date);

} catch (ParseException e) {
e.printStackTrace();
}


List<BookIssueDetails> list = hm.get(studentId);
for (BookIssueDetails b : list) {
int value = b.getNoOfBookIssued();
newIssuedBook.setNoOfBookIssued(++value);
l.add(newIssuedBook);
if (value > 2)
System.out.println("You already issued max(2) books");
else
hm.put(studentId, l);
}
}

private static void addBook() {
System.out.println("Enter Booknumber, name and price");
Scanner c = new Scanner(System.in);
int bookNumber = c.nextInt();
String name = c.nextLine();
Double price = c.nextDouble();

BookDetails book = new BookDetails(bookNumber, name, price);
books.add(book);

}

}


package com.lms;

import java.util.Date;


public class BookIssueDetails {

private int bookNumber;
private String name;
private int totalBookAllowed = 2;
private int noOfBookIssued=0;
private Date issueDate;
private Date returnDate;

public BookIssueDetails(int bookNumber,String name,int n,Date issueDate)
{
this.bookNumber=bookNumber;
this.name=name;
this.noOfBookIssued=n;
this.issueDate=issueDate;
}

public BookIssueDetails() {
}

public int getBookNumber() {
return bookNumber;
}

public void setBookNumer(int bookNumber) {
this.bookNumber = bookNumber;
}

public int getNoOfBookIssued() {
return noOfBookIssued;
}

public void setNoOfBookIssued(int noOfBookIssued) {
this.noOfBookIssued = noOfBookIssued;
}

public Date getIssueDate() {
return issueDate;
}

public void setIssueDate(Date issueDate) {
this.issueDate = issueDate;
}

public Date getReturnDate() {
return returnDate;
}

public void setReturnDate(Date returnDate) {
this.returnDate = returnDate;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public int getTotalBookAllowed() {
return totalBookAllowed;
}

public void setTotalBookAllowed(int totalBookAllowed) {
this.totalBookAllowed = totalBookAllowed;
}




}


package com.lms;

public class BookDetails {
private int bookNumber;
private String bookName;
private Double price;
private int count;

public BookDetails(int bookNumber,String name,Double price)
{
this.bookNumber=bookNumber;
this.bookName=name;
this.price=price;
}

public int getCount() {
return count;
}

public void setCount(int count) {
this.count = count;
}
public int getBookNumber() {
return bookNumber;
}

public void setBookNumber(int bookNumber) {
this.bookNumber = bookNumber;
}

public String getBookName() {
return bookName;
}

public void setBookName(String bookName) {
this.bookName = bookName;
}

public Double getPrice() {
return price;
}

public void setPrice(Double price) {
this.price = price;
}
}


package com.lms;

public class StudentDetails {
private int studentId;
private String studentName;
private String className;

public int getStudentId() {
return studentId;
}

public void setStudentId(int studentId) {
this.studentId = studentId;
}

public String getStudentName() {
return studentName;
}

public void setStudentName(String studentName) {
this.studentName = studentName;
}

public String getClassName() {
return className;
}

public void setClassName(String className) {
this.className = className;
}

- Anonymous November 24, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

What stupid bullshit is this?????
Not working
Its a SCAM

- Syed December 13, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

output

- sadhna March 03, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

import java.util.Map;
import java.util.HashMap;

public class Library {
    protected Integer libraryId;
    protected Address address;
    protected Map<Integer, Book> books = new HashMap<>();
    protected Map<Integer, User> users = new HashMap<>();

    public Library (Integer libraryId, Address address) {
        this.address = address;
        this.libraryId = libraryId;
    }

    public void setAddress (Address address) {
        this.address = address;
    }

    public boolean addBook (Book book) {
        if (!books.containsValue(book)) {
            books.put(book.id, book);
            return true;
        }
        return false;
    }

    public boolean deleteBook (Book book) {
        if (!books.containsValue(book)) {
            books.remove(book.id);
            return true;
        }
        return false;
    }

    public boolean addUser (User user) {
        if (!users.containsValue(user)) {
            System.out.println("Added user - " + user.id);
            users.put(user.id, user);
            return true;
        }
        System.out.println("Unable to add user - " + user.id);
        return false;
    }

    public boolean deleteUser (User user) {
        if (!users.containsValue(user)) {
            users.remove(user.id);
            return true;
        }
        return false;
    }

    public User findUser (Integer userId) {
        return users.get(userId);
    }

    public Book findBook (Integer bookId) {
        return books.get(bookId);
    }

}

import java.util.Date;

public class Book {
    protected Integer id;
    protected String title;
    protected String category;
    protected String author;
    protected Date dueDate;

    public Book (Integer id, String title, String category, String author) {
        this.id = id;
        this.title = title;
        this.category = category;
        this.author = author;
    }

    public void setDueDate (Date date) {
        this.dueDate = date;
    }

}


import java.util.ArrayList;
import java.util.List;
import java.util.Date;

public class User {
    protected Integer id;
    protected Address address;
    protected double lateFee;
    protected List<Book> booksBorrowed;

    public User (Integer id, Address address) {
        this.id = id;
        this.address = address;
        booksBorrowed = new ArrayList<>();
    }

    public void getBooksBorrowed () {
        for (Book book: booksBorrowed) {
            System.out.println(" Id - " + book.id +  ", title - " + book.title);
        }
    }

    public boolean borrowBook (Book book) {
        if (lateFee > 0.00) {
            System.out.println("Please return/renew old books and pay late fee, before borrowing new book!");
            return false;
        }
        book.setDueDate(new Date());
        this.booksBorrowed.add(book);
        return true;
    }

    public boolean returnBook (Book book) {
        if (booksBorrowed.indexOf(book) >= 0) {
            Integer overDueBy = overDueByDays(book);
            if (overDueBy > 10) {
                lateFee = lateFee + ((overDueBy-10)*1.00);
            }
            this.booksBorrowed.remove(book);
            return true;
        }
        return false;
    }

    private Integer overDueByDays (Book book) {
        Date today = new Date();
        Long diffInMS = Math.abs(today.getTime() - book.dueDate.getTime());
        Long diffInDays = diffInMS / (24 * 60 * 60 * 1000);
        return diffInDays.intValue();
    }

}

public class Address {
    protected String name;
    protected Integer streetNumber;
    protected String streetName;
    protected String city;
    protected String state;
    protected Integer zipcode;

    public Address (String name, Integer streetNumber, String streetName,
            String city, String state, Integer zipcode) {
        this.name = name;
        this.streetNumber = streetNumber;
        this.streetName = streetName;
        this.city = city;
        this.state = state;
        this.zipcode = zipcode;
    }

    public Address getAddress () {
        return this;
    }
}

- Anonymous December 27, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

public class Library {
    protected Integer libraryId;
    protected Address address;
    protected Map<Integer, Book> books = new HashMap<>();
    protected Map<Integer, User> users = new HashMap<>();

    public Library (Integer libraryId, Address address) {
        this.address = address;
        this.libraryId = libraryId;
    }

    public void setAddress (Address address) {
        this.address = address;
    }

    public boolean addBook (Book book) {
        if (!books.containsValue(book)) {
            books.put(book.id, book);
            return true;
        }
        return false;
    }

    public boolean deleteBook (Book book) {
        if (!books.containsValue(book)) {
            books.remove(book.id);
            return true;
        }
        return false;
    }

    public boolean addUser (User user) {
        if (!users.containsValue(user)) {
            System.out.println("Added user - " + user.id);
            users.put(user.id, user);
            return true;
        }
        System.out.println("Unable to add user - " + user.id);
        return false;
    }

    public boolean deleteUser (User user) {
        if (!users.containsValue(user)) {
            users.remove(user.id);
            return true;
        }
        return false;
    }

    public User findUser (Integer userId) {
        return users.get(userId);
    }

    public Book findBook (Integer bookId) {
        return books.get(bookId);
    }

}

import java.util.Date;

public class Book {
    protected Integer id;
    protected String title;
    protected String category;
    protected String author;
    protected Date dueDate;

    public Book (Integer id, String title, String category, String author) {
        this.id = id;
        this.title = title;
        this.category = category;
        this.author = author;
    }

    public void setDueDate (Date date) {
        this.dueDate = date;
    }

}


public class User {
    protected Integer id;
    protected Address address;
    protected double lateFee;
    protected List<Book> booksBorrowed;

    public User (Integer id, Address address) {
        this.id = id;
        this.address = address;
        booksBorrowed = new ArrayList<>();
    }

    public void getBooksBorrowed () {
        for (Book book: booksBorrowed) {
            System.out.println(" Id - " + book.id +  ", title - " + book.title);
        }
    }

    public boolean borrowBook (Book book) {
        if (lateFee > 0.00) {
            System.out.println("Please return/renew old books and pay late fee, before borrowing new book!");
            return false;
        }
        book.setDueDate(new Date());
        this.booksBorrowed.add(book);
        return true;
    }

    public boolean returnBook (Book book) {
        if (booksBorrowed.indexOf(book) >= 0) {
            Integer overDueBy = overDueByDays(book);
            if (overDueBy > 10) {
                lateFee = lateFee + ((overDueBy-10)*1.00);
            }
            this.booksBorrowed.remove(book);
            return true;
        }
        return false;
    }

    private Integer overDueByDays (Book book) {
        Date today = new Date();
        Long diffInMS = Math.abs(today.getTime() - book.dueDate.getTime());
        Long diffInDays = diffInMS / (24 * 60 * 60 * 1000);
        return diffInDays.intValue();
    }

}

public class Address {
    protected String name;
    protected Integer streetNumber;
    protected String streetName;
    protected String city;
    protected String state;
    protected Integer zipcode;

    public Address (String name, Integer streetNumber, String streetName,
            String city, String state, Integer zipcode) {
        this.name = name;
        this.streetNumber = streetNumber;
        this.streetName = streetName;
        this.city = city;
        this.state = state;
        this.zipcode = zipcode;
    }

    public Address getAddress () {
        return this;
    }
}

- Anonymous December 27, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

public class Library {
    protected Integer libraryId;
    protected Address address;
    protected Map<Integer, Book> books = new HashMap<>();
    protected Map<Integer, User> users = new HashMap<>();

    public Library (Integer libraryId, Address address) {
        this.address = address;
        this.libraryId = libraryId;
    }

    public void setAddress (Address address) {
        this.address = address;
    }

    public boolean addBook (Book book) {
        if (!books.containsValue(book)) {
            books.put(book.id, book);
            return true;
        }
        return false;
    }

    public boolean deleteBook (Book book) {
        if (!books.containsValue(book)) {
            books.remove(book.id);
            return true;
        }
        return false;
    }

    public boolean addUser (User user) {
        if (!users.containsValue(user)) {
            System.out.println("Added user - " + user.id);
            users.put(user.id, user);
            return true;
        }
        System.out.println("Unable to add user - " + user.id);
        return false;
    }

    public boolean deleteUser (User user) {
        if (!users.containsValue(user)) {
            users.remove(user.id);
            return true;
        }
        return false;
    }

    public User findUser (Integer userId) {
        return users.get(userId);
    }

    public Book findBook (Integer bookId) {
        return books.get(bookId);
    }

}

public class Book {
    protected Integer id;
    protected String title;
    protected String category;
    protected String author;
    protected Date dueDate;

    public Book (Integer id, String title, String category, String author) {
        this.id = id;
        this.title = title;
        this.category = category;
        this.author = author;
    }

    public void setDueDate (Date date) {
        this.dueDate = date;
    }

}

public class User {
    protected Integer id;
    protected Address address;
    protected double lateFee;
    protected List<Book> booksBorrowed;

    public User (Integer id, Address address) {
        this.id = id;
        this.address = address;
        booksBorrowed = new ArrayList<>();
    }

    public void getBooksBorrowed () {
        for (Book book: booksBorrowed) {
            System.out.println(" Id - " + book.id +  ", title - " + book.title);
        }
    }

    public boolean borrowBook (Book book) {
        if (lateFee > 0.00) {
            System.out.println("Please return/renew old books and pay late fee, before borrowing new book!");
            return false;
        }
        book.setDueDate(new Date());
        this.booksBorrowed.add(book);
        return true;
    }

    public boolean returnBook (Book book) {
        if (booksBorrowed.indexOf(book) >= 0) {
            Integer overDueBy = overDueByDays(book);
            if (overDueBy > 10) {
                lateFee = lateFee + ((overDueBy-10)*1.00);
            }
            this.booksBorrowed.remove(book);
            return true;
        }
        return false;
    }

    private Integer overDueByDays (Book book) {
        Date today = new Date();
        Long diffInMS = Math.abs(today.getTime() - book.dueDate.getTime());
        Long diffInDays = diffInMS / (24 * 60 * 60 * 1000);
        return diffInDays.intValue();
    }

}

public class Address {
    protected String name;
    protected Integer streetNumber;
    protected String streetName;
    protected String city;
    protected String state;
    protected Integer zipcode;

    public Address (String name, Integer streetNumber, String streetName,
            String city, String state, Integer zipcode) {
        this.name = name;
        this.streetNumber = streetNumber;
        this.streetName = streetName;
        this.city = city;
        this.state = state;
        this.zipcode = zipcode;
    }

    public Address getAddress () {
        return this;
    }
}

- Anonymous December 27, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

public class Library {
protected Integer libraryId;
protected Address address;
protected Map<Integer, Book> books = new HashMap<>();
protected Map<Integer, User> users = new HashMap<>();

public Library (Integer libraryId, Address address) {
this.address = address;
this.libraryId = libraryId;
}

public void setAddress (Address address) {
this.address = address;
}

public boolean addBook (Book book) {
if (!books.containsValue(book)) {
books.put(book.id, book);
return true;
}
return false;
}

public boolean deleteBook (Book book) {
if (!books.containsValue(book)) {
books.remove(book.id);
return true;
}
return false;
}

public boolean addUser (User user) {
if (!users.containsValue(user)) {
System.out.println("Added user - " + user.id);
users.put(user.id, user);
return true;
}
System.out.println("Unable to add user - " + user.id);
return false;
}

public boolean deleteUser (User user) {
if (!users.containsValue(user)) {
users.remove(user.id);
return true;
}
return false;
}

public User findUser (Integer userId) {
return users.get(userId);
}

public Book findBook (Integer bookId) {
return books.get(bookId);
}

}

import java.util.Date;

public class Book {
protected Integer id;
protected String title;
protected String category;
protected String author;
protected Date dueDate;

public Book (Integer id, String title, String category, String author) {
this.id = id;
this.title = title;
this.category = category;
this.author = author;
}

public void setDueDate (Date date) {
this.dueDate = date;
}

}


import java.util.ArrayList;
import java.util.List;
import java.util.Date;

public class User {
protected Integer id;
protected Address address;
protected double lateFee;
protected List<Book> booksBorrowed;

public User (Integer id, Address address) {
this.id = id;
this.address = address;
booksBorrowed = new ArrayList<>();
}

public void getBooksBorrowed () {
for (Book book: booksBorrowed) {
System.out.println(" Id - " + book.id + ", title - " + book.title);
}
}

public boolean borrowBook (Book book) {
if (lateFee > 0.00) {
System.out.println("Please return/renew old books and pay late fee, before borrowing new book!");
return false;
}
book.setDueDate(new Date());
this.booksBorrowed.add(book);
return true;
}

public boolean returnBook (Book book) {
if (booksBorrowed.indexOf(book) >= 0) {
Integer overDueBy = overDueByDays(book);
if (overDueBy > 10) {
lateFee = lateFee + ((overDueBy-10)*1.00);
}
this.booksBorrowed.remove(book);
return true;
}
return false;
}

private Integer overDueByDays (Book book) {
Date today = new Date();
Long diffInMS = Math.abs(today.getTime() - book.dueDate.getTime());
Long diffInDays = diffInMS / (24 * 60 * 60 * 1000);
return diffInDays.intValue();
}

}

public class Address {
protected String name;
protected Integer streetNumber;
protected String streetName;
protected String city;
protected String state;
protected Integer zipcode;

public Address (String name, Integer streetNumber, String streetName,
String city, String state, Integer zipcode) {
this.name = name;
this.streetNumber = streetNumber;
this.streetName = streetName;
this.city = city;
this.state = state;
this.zipcode = zipcode;
}

public Address getAddress () {
return this;
}
}
- Anonymous 9 days ago | Flag Reply
0
of 0 vote

public class Library {
protected Integer libraryId;
protected Address address;
protected Map<Integer, Book> books = new HashMap<>();
protected Map<Integer, User> users = new HashMap<>();

public Library (Integer libraryId, Address address) {
this.address = address;
this.libraryId = libraryId;
}

public void setAddress (Address address) {
this.address = address;
}

public boolean addBook (Book book) {
if (!books.containsValue(book)) {
books.put(book.id, book);
return true;
}
return false;
}

public boolean deleteBook (Book book) {
if (!books.containsValue(book)) {
books.remove(book.id);
return true;
}
return false;
}

public boolean addUser (User user) {
if (!users.containsValue(user)) {
System.out.println("Added user - " + user.id);
users.put(user.id, user);
return true;
}
System.out.println("Unable to add user - " + user.id);
return false;
}

public boolean deleteUser (User user) {
if (!users.containsValue(user)) {
users.remove(user.id);
return true;
}
return false;
}

public User findUser (Integer userId) {
return users.get(userId);
}

public Book findBook (Integer bookId) {
return books.get(bookId);
}

}

import java.util.Date;

public class Book {
protected Integer id;
protected String title;
protected String category;
protected String author;
protected Date dueDate;

public Book (Integer id, String title, String category, String author) {
this.id = id;
this.title = title;
this.category = category;
this.author = author;
}

public void setDueDate (Date date) {
this.dueDate = date;
}

}


public class User {
protected Integer id;
protected Address address;
protected double lateFee;
protected List<Book> booksBorrowed;

public User (Integer id, Address address) {
this.id = id;
this.address = address;
booksBorrowed = new ArrayList<>();
}

public void getBooksBorrowed () {
for (Book book: booksBorrowed) {
System.out.println(" Id - " + book.id + ", title - " + book.title);
}
}

public boolean borrowBook (Book book) {
if (lateFee > 0.00) {
System.out.println("Please return/renew old books and pay late fee, before borrowing new book!");
return false;
}
book.setDueDate(new Date());
this.booksBorrowed.add(book);
return true;
}

public boolean returnBook (Book book) {
if (booksBorrowed.indexOf(book) >= 0) {
Integer overDueBy = overDueByDays(book);
if (overDueBy > 10) {
lateFee = lateFee + ((overDueBy-10)*1.00);
}
this.booksBorrowed.remove(book);
return true;
}
return false;
}

private Integer overDueByDays (Book book) {
Date today = new Date();
Long diffInMS = Math.abs(today.getTime() - book.dueDate.getTime());
Long diffInDays = diffInMS / (24 * 60 * 60 * 1000);
return diffInDays.intValue();
}

}

public class Address {
protected String name;
protected Integer streetNumber;
protected String streetName;
protected String city;
protected String state;
protected Integer zipcode;

public Address (String name, Integer streetNumber, String streetName,
String city, String state, Integer zipcode) {
this.name = name;
this.streetNumber = streetNumber;
this.streetName = streetName;
this.city = city;
this.state = state;
this.zipcode = zipcode;
}

public Address getAddress () {
return this;
}
}
- Anonymous 9 days ago | Flag Reply
0
of 0

- Anonymous January 04, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

YOGESH

- WORKING DIKHA March 14, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

hai iam bhushan this about project successfully executed

- Anonymous November 19, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

can you send the code to my mail? ashwinkrishna1311@gmail.com

- Anonymous November 07, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

can you mail me the code plz.!roshnisrinivas8101@gmail.com

- ROSHNI June 12, 2021 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

can you mail me the code plz.!roshnisrinivas8101@gmail.com

- ROSHNI June 12, 2021 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

yes you are

- Anonymous November 09, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Where is main method in it

- Anonymous April 09, 2021 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More