Skip to content

patilankita79/CopartChallenge_April4_2017

Repository files navigation

Copart coding competiton

Group: Ankita Patil & Lakshmi Sharma

The following problems have been solved.


Problem: Convert String to Integer (Simple) (10 points)
Without using any Integer functions like parseInt/valueOf convert the String to Integer. e.g. String input = “1234” - > Integer output=1234.

File: NumberOperations.java


Problem: License Keys (Simple) (10 points)
We are given a string S consisting of N characters and an integer K. The string represents software license key which we would like to format. The string is composed of alphanumeric characters and dashes. The dashes split the string into groups (i.e if there are M dashes, the string is split into M+1 groups). The dashes in the string are possibly misplaced.

We want each group of characters to be of the length K (except for possibly the first group which could be shorter). All lowercase letters must be converted to uppercase.

The Input: Enter string S and integer K or pass them as args

The Output: Formatted license key according to the rules

Sample Input: S=2-4A0r7-4k K=4

Sample Output: 24A0-R74K

File: LicenseKeySolution.java


Problem: Extract Text from PDF/image (20 Points) Incomplete
Use any open source tool extract the Vehicle ID Number, Plate Number & Certificate Name pdf/image file. Sample docs can be found in Documents/Title Docs Folder.

File:TextExtractionFromPDF_CopartChallenge.R

Langauge Used : R

Open source library used : pdftools


Problem:JS Library/framework* based - Nested ListView (Simple) (10 points)
JS based ListView - Must have multiple Nested list views - (eg) Countries, States, Cities.

  1. Single JSON response vs Multiple JSON response - Showcase both.
  2. Reuse components and reuse data from cache/store [*] - Use React or AngularJS or ember or backbone or one of the modern JS frameworks/libraries. Do not use JQuery or ExtJS

Folder:ListView


About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published