Design - Interview Questions and Answers for 'Canopy tax' - 4 question(s) found - Order By Newest Frequently asked in face to face interviews. Q1. Write a program to print fibonacci series. Core Java
Ans. int count = 15;
int[] fibonacci = new int[count];
fibonacci[0] = 0;
fibonacci[1] = 1;
for(int x=2; x < count; x++){
fibonacci[x] = fibonacci[x-1] + fibonacci[x-2];
}
for(int x=0; x< count; x++){
System.out.print(fibonacci[x] + " ");
} Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve ebay fibonacci series Manvish eTech Belvedere Trading King UK FinaTel Goldman Sachs Enlighten Software Misys Mahindra Comviva ZapCom Nucleus Software Exports Enlighten Sears Mahindra Satyam Insperity General Motors AVIS e Solutions Paddy Power Betfair TurningCloud Polestar Solutions BlueWhale Solutions CitiusTech Zuhlke Comcast KGFSL Quickr Paramatrix Technologies CalSoft Ancestry.com OnMobile Global NBCUniversal Inventum Technologies Hughes Systique Flextronics Geometric Soft Check Point Software Technologies ZapLabs Indecomm Global Services HTC Global Quovantis Technologies Mobiloitte Riktam Technologies DMX Technologies Mojo Networks Tata Elxsi Ciena ServiceNow EverBridge LendingClub Virtusa Polaris West Corporation Ebay Walmart HomeAway AllClear ID Quinnox Software Acquity Group Cadence Design Systems SmartPrix Leidos Zoho Varian Medical Systems HealthSparq karya technology Canopy Tax 23AndMe basic   frequent Q2. Write a method that takes a string as input and identifies if any permutation of the String is Palindrome ? For example - ttoobb has a permutation 'bottob' which is a palindrome. Design 2018-05-24 13:26:34
This question was recently asked at 'Canopy Tax'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve Canopy Tax expert Q3. Given a list of People, We need to distribute their gifts in such a way that
Any Person shouldn't get it's gift back
If A's gift goes to B, B's gift shouldn't go to A
Write a method that returns a Map where Key is the Person's name and value is the name of person whose gift was exchanged. Design 2018-05-24 13:28:14
This question was recently asked at 'Canopy Tax'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve Canopy Tax Library Management System has always been the favorite question. This questions is asked irrespective of level. Q4. Write data models and service end points for Library Management System ? Architecture 2018-06-30 13:43:10
Ans. Following could be the business sub domains or database schemas in such a system
1. Users / Members
2. Sourcing
3. Inventory Management
4. Operations
Following services end points could be there
1. Users - addNewUser ( put ), removeUser ( post )
2. Sourcing - addSupplier ( put ), removeSupplier ( post )
3. Inventory Management - getInventory ( get )
4. Operations - checkIn ( post ), checkout ( post )
There could be following Tables in Database
1. Users / Members - MEMBER, MEMBERSHIP_TYPE
2. Sourcing - SUPPLIER, SUPPLIER_PRODUCT, PRODUCT_REORDER_LEVELS
3. Inventory Management - INVENTORY,PRODUCTS
4. Operations - TRANSACTION Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve database architecture design Canopy Tax