Pinned Repositories
99-problems
This is an adaptation of the Ninety-Nine Prolog Problems written by Werner Hett.
AlgorithmAndDataStructureInJava
If you are interested in learning java or preparing for coding test, this repository can help you. Star this repo, fork it or clone and start running the code. This has basic Java concepts to advanced algorithm, data structures and coding challenges and solution of cracking the coding interview book in java. .
ATLASGROUPTEST
JAVA developer assesment test ------------------------------------ Write "BACONATOR" - a Java 12 Spring Boot application conforming the following specification: - providing REST interface (use JAX-RS style) with the "bacon" endpoint "/give-me-bacon/{howmuch}" - upon accessing this endpoint, following happens: - as many times as specified in {howmuch} path parameter of the "bacon" endpoint your app retrieves JSON array of string from https://baconipsum.com/api/?type=all-meat¶s=1 using standard Java 12 HTTP client - application takes note of retrieval start and end timestamp - "runId" field is a random-generated ID (for example UUID) of request/response pair - "items" is array of responses from external bacon service - "data" field inside "items" field in output is actual data retrieved from external service - output contains start and end timestamps for both full request and for each item as well - example of pretty-printed application/json return data: { "runId" : "abcdef", "start": 1234646, "end": 12354587 "items" [ { "start": 1234646, "end": 12354587, "duration": "3h 19m 56s 46ms", "data": ["Alcatra strip cow bacon..."] } ] } - example - app is running on localhost, port 8080 - in the browser I type the following: "http://localhost:8080/give-me-bacon/5" - I receive following response: { "runId" : "axgdas", "items" [ { "start": 1234646, "end": 12354587 "data": ["Alcatra strip cow bacon..."] }, { "start": ... } ... ] } Don't hesitate to use coding tutorials and Stack Overflow! Your evaluation will be based on this task, therefore it is mandatory that you work on this alone and on your own. Estimated time to complete this task is 60-120 minutes for all levels. If it takes you significantly more time, please do not hesitate to tell us. Acceptance criteria: Junior must pass following: --------------------------- - your application must produce runnable spring boot war conforming assignment - if you are unsure how to produce runnable spring boot war application, just follow tutorials - deliver your solution as link to any public git repository - use git to actually push your code (do not upload it manually to repo) - use maven/gradle or any other build system - conform to Google Java style guide - https://google.github.io/styleguide/javaguide.html - if you are unsure, use auto-formatting options Intermediate dev must pass everything above plus following: ------------------------------------- - use JDK 11 HTTP client - use RxJava for parallel bacon JSON retrieval from external service - add statistics endpoint which provides information about - word count (histogram) - number of requests per IP address Senior dev must pass everything above plus following: ------------------------------------- - implement "bacon pool", also known as "source of bacon" or "bacon cache" - choose time period of your liking (e.g. 5 seconds) and fetch single piece of bacon (i.e. single call to baconipsum) on regular basis, then: - store these pieces in queue in the application (disk persistancy is a bonus) - when user requests bacon from the endpoint either supply him with bacon (destroying stored bacon in process) or block until some bacon is available - extend statistics endpoint by average bacon waiting time per request - make sure you synchronize well - bacon is precious resource and single piece of bacon can be returned in single response only Some bonus points: ------------------ - provide REST endpoint to retrieve historic data by their runId (cache in memory) - cache historic run data in embedded database on disk - store history in some event queue (kafka, rabbit) so application behavior can be replayed and analyzed Ending notes: ------------- Overall quality of your code, usage of design patterns, best practices and common sense will be evaluated. You are presenting yourself with this task - please provide production-grade code.
atsea-sample-shop-app
A sample app that uses a Java Spring Boot backend connected to a database to display a fictitious art shop with a React front-end.
boot-rest-api-interview
Spring Boot application for our interview candidates.
challenges
Problems that have plagued Talkdesk
codewithmash
coding-interview-university
A complete computer science study plan to become a software engineer.
collections-solutions
Cryptocurrency-assignment-Byzantine
In this project, you will implement the basic, unauthenticated Byzantine fault tolerant consensus algorithm described by Lamport, Shostak, and Pease in their seminal paper titled The Byzantine General’s Problem [1]. The project code provides you with a simple consensus protocol testing framework that you will use to test the correctness of your implementation. Read and thoroughly understand all the project code before beginning. The Java class named hw4.BasicTests gives several tests that demonstrate how to use the consensus testing framework. Your submission should make all the tests pass. For example, test0 test case is reproduced below and configures a small network running the FollowLeader consensus protocol described in class that fails to solve the BFT consensus problem for any number of malicious nodes.
zvamature's Repositories
zvamature/99-problems
This is an adaptation of the Ninety-Nine Prolog Problems written by Werner Hett.
zvamature/AlgorithmAndDataStructureInJava
If you are interested in learning java or preparing for coding test, this repository can help you. Star this repo, fork it or clone and start running the code. This has basic Java concepts to advanced algorithm, data structures and coding challenges and solution of cracking the coding interview book in java. .
zvamature/ATLASGROUPTEST
JAVA developer assesment test ------------------------------------ Write "BACONATOR" - a Java 12 Spring Boot application conforming the following specification: - providing REST interface (use JAX-RS style) with the "bacon" endpoint "/give-me-bacon/{howmuch}" - upon accessing this endpoint, following happens: - as many times as specified in {howmuch} path parameter of the "bacon" endpoint your app retrieves JSON array of string from https://baconipsum.com/api/?type=all-meat¶s=1 using standard Java 12 HTTP client - application takes note of retrieval start and end timestamp - "runId" field is a random-generated ID (for example UUID) of request/response pair - "items" is array of responses from external bacon service - "data" field inside "items" field in output is actual data retrieved from external service - output contains start and end timestamps for both full request and for each item as well - example of pretty-printed application/json return data: { "runId" : "abcdef", "start": 1234646, "end": 12354587 "items" [ { "start": 1234646, "end": 12354587, "duration": "3h 19m 56s 46ms", "data": ["Alcatra strip cow bacon..."] } ] } - example - app is running on localhost, port 8080 - in the browser I type the following: "http://localhost:8080/give-me-bacon/5" - I receive following response: { "runId" : "axgdas", "items" [ { "start": 1234646, "end": 12354587 "data": ["Alcatra strip cow bacon..."] }, { "start": ... } ... ] } Don't hesitate to use coding tutorials and Stack Overflow! Your evaluation will be based on this task, therefore it is mandatory that you work on this alone and on your own. Estimated time to complete this task is 60-120 minutes for all levels. If it takes you significantly more time, please do not hesitate to tell us. Acceptance criteria: Junior must pass following: --------------------------- - your application must produce runnable spring boot war conforming assignment - if you are unsure how to produce runnable spring boot war application, just follow tutorials - deliver your solution as link to any public git repository - use git to actually push your code (do not upload it manually to repo) - use maven/gradle or any other build system - conform to Google Java style guide - https://google.github.io/styleguide/javaguide.html - if you are unsure, use auto-formatting options Intermediate dev must pass everything above plus following: ------------------------------------- - use JDK 11 HTTP client - use RxJava for parallel bacon JSON retrieval from external service - add statistics endpoint which provides information about - word count (histogram) - number of requests per IP address Senior dev must pass everything above plus following: ------------------------------------- - implement "bacon pool", also known as "source of bacon" or "bacon cache" - choose time period of your liking (e.g. 5 seconds) and fetch single piece of bacon (i.e. single call to baconipsum) on regular basis, then: - store these pieces in queue in the application (disk persistancy is a bonus) - when user requests bacon from the endpoint either supply him with bacon (destroying stored bacon in process) or block until some bacon is available - extend statistics endpoint by average bacon waiting time per request - make sure you synchronize well - bacon is precious resource and single piece of bacon can be returned in single response only Some bonus points: ------------------ - provide REST endpoint to retrieve historic data by their runId (cache in memory) - cache historic run data in embedded database on disk - store history in some event queue (kafka, rabbit) so application behavior can be replayed and analyzed Ending notes: ------------- Overall quality of your code, usage of design patterns, best practices and common sense will be evaluated. You are presenting yourself with this task - please provide production-grade code.
zvamature/atsea-sample-shop-app
A sample app that uses a Java Spring Boot backend connected to a database to display a fictitious art shop with a React front-end.
zvamature/boot-rest-api-interview
Spring Boot application for our interview candidates.
zvamature/codewithmash
zvamature/coding-interview-university
A complete computer science study plan to become a software engineer.
zvamature/collections-solutions
zvamature/customs-vehicle-clearance-camunda-bpm
zvamature/developer-interview
A Project with integration problems for a developer interview
zvamature/Flower-Pot
Flower Pot Create the Flower and Pot classes according to the following specification detailed in the UML diagram below and Javadocs: Updates (and responses to common Ed questions): If the pot is empty (or none are alive), averageAge and averageHeight should return -1 maxAge is the maximum age of the flower, if the age goes beyond this, it dies For clarity, tan^-1 means the inverse tan function (arctan) not 1/tan(). Note that searches for null values in species and colour crierion should work and be able to find flowers in the pot with null values as those attributes Most Pot tests require the use of insert(), water() and rearrange(), so make sure these methods are working first. combine() and view() should not include flowers with null colour in the result. view() method is case insensitive for the colour string If null is passed as input to the Pot insert() method, return false. (cannot add null) For the replace() method, if both are null, return 0. The first hidden testcase is testing the order of the colours in the view() method output is in alphabetical order. See the assignment helpful notes. You need to add the entries into an ArrayList and then sort using a Comparator, or use a TreeMap instead of HashMap. The TreeMap is automatically sorted by key order, unlike HashMap which is unordered. For replace() and filter(), ensure you don't create a situation where a Flower object is present in multiple pots, or more than once in the same pot. Testcase file has been released (hidden tests removed):
zvamature/free-programming-books
:books: Freely available programming books
zvamature/Go-Books
Books about Nodejs, Angular2, Agile, Clean Code, Docker, Golang, Microservices, REST, TDD, BDD, and Startups.
zvamature/Helping-Younger-Brother
Description Your little brother is weak when it comes to dividing two numbers, but he has learnt coding from you. So he built a division calculator for himself. This calculator prompts users for two numbers. Store the first number as an integer variable, named a and another as an integer variable, named b. Then it divides these two numbers and shows the result on the screen in the following format. a/b = result For example, if the first number was 10 and the second number was 2, then this calculator will print the following message. 10/2 = 5 He showed this masterpiece to his friends. One of them entered textual input and his calculator crashed. He restarted it again and this time someone tried to divide a number by zero. His calculator again crashed. Now everyone is laughing at him. He came to you crying and wants his calculator application to be fixed. You as an older and responsible brother saw at this code and figured out how to fix it. Whenever someone enters textual input, you will show a message saying “Both a and b should be integers.” Whenever someone enters zero as the second number, you will show a message saying “You should not divide by zero.” Rewrite your brother’s code, given as stub code, to handle above two scenarios using Exception Handling. Input Format: The first line contains two values which could be both integers or both strings or one integer and one string. They will be stored as two variables, a and b, in your program. Output Format: Print one of the following message on the console- firstNumber/secondNumber = resultOfDivision, if both numbers are integers and the second number is not 0. “You should not divide by zero.”, if both numbers are integers and the second number is 0 “Both a and b should be integers”, if any of the numbers is text. Sample Input 1: 10 5 Sample Output 1: 10/5 = 2 Sample Input 2: 10 0 Sample Output 2: You should not divide by zero. Sample input 3: text 2 Sample output 3: Both a and b should be integers. Notes: The output message to be displayed on the console should use the exact template, which is shown in the example. Your solution will be evaluated based on the correct output displayed, the proper identifiers used as per the context provided and the correct syntax used. Follow all the TODOs given in the stub.
zvamature/internet-banking-concept-microservices
zvamature/InterviewPractice
Software Developer Interview Practice
zvamature/java-fundamentals-course
Interactive Java Fundamentals course that features Data Structures and Algorithms, OOP, Functional Programming, and Test-Driven Development
zvamature/java-interview-questions
1000+ Java Interview Questions
zvamature/learnit-java-zero-to-first-job
zvamature/linkedin-clone
A Linkedin clone app built with React, Redux, Firebase/Firestore & Material UI
zvamature/PayDayTradeSpringBootMicroserviceApp
Stock Trading Spring Boot Micro Service Back-End App
zvamature/Puzzling
Work on the puzzles below. Make your code as clean as possible. The class name should be PuzzleJava; you will need to create methods for each of the tasks below and test them in the main method. ● Create an array with the following values: 3,5,1,2,7,9,8,13,25,32. Print the sum of all numbers in the array. Also have the function return an array that only includes numbers that are greater than 10 (e.g. when you pass the array above, it should return an array with the values of 13,25,32) ● Create an array with the following values: Nancy, Jinichi, Fujibayashi, Momochi, Ishikawa. Shuffle the array and print the name of each person. Have the method also return an array with names that are longer than 5 characters. ● Create an array that contains all 26 letters of the alphabet (this array must have 26 values). Shuffle the array and, after shuffling, display the last letter from the array. Have it also display the first letter of the array. If the first letter in the array is a vowel, have it display a message. To shuffle a collection, you can use the shuffle method of the Collections class. Collections Class documentation ● Generate and return an array with 10 random numbers between 55-100. To get a random integer, you can use the nextInt method of the Random class. Random Class documentation ● Generate and return an array with 10 random numbers between 55-100 and have it be sorted (showing the smallest number in the beginning). Display all the numbers in the array. Next, display the minimum value in the array as well as the maximum value. To sort a collection, you can use the sort method of the Collections class. ● Create a random string that is 5 characters long. ● Generate an array with 10 random strings that are each 5 characters long
zvamature/SchedulingApp
A scheduling desktop user interface application for WGU course C195 Task 1: Java Application Development Introduction: Throughout your career in software design and development, you will be asked to create applications with various features and criteria based on a variety of business requirements. For this assessment, you will create your own Java application with requirements that mirror those you will encounter in a real-world job assignment. The skills you will showcase in this assessment are also directly relevant to technical interview questions for future employment. This application should become a portfolio piece for you to show to future employers. Several attachments and links have been included to help you complete this task. Refer to the “MySQL Virtual Access Instructions” attachment for help accessing the database for your application. Note that this database is for functional purposes only and does not include any pre-existing data. The attached “Database ERD” shows the entity relationship diagram (ERD) for this database, which you can reference as you create your application. The preferred integrated development environment (IDE) for this assignment is NetBeans. Use the web link “NetBeans Installation Instructions” to install this connector. If you choose to use another IDE, you must export your project into NetBeans format for submission. When you have completed this task, you must submit a zip file with all the necessary code files to compile, support, and run your application. Scenario: You are working for a software company that has been contracted to develop a scheduling desktop user interface application. The contract is with a global consulting organization that conducts business in multiple languages and has main offices in Phoenix, Arizona; New York, New York; and London, England. The consulting organization has provided a MySQL database that your application must pull data from. The database is used for other systems and therefore its structure cannot be modified. The organization outlined specific business requirements that must be included as part of the application. From these requirements, a system analyst at your company created solution statements for you to implement in developing the application. These statements are listed in the requirements section. Requirements: Your submission must be your original work. No more than a combined total of 30% of the submission and no more than a 10% match to any one individual source can be directly quoted or closely paraphrased from sources, even if cited correctly. Use the Turnitin Originality Report available in Taskstream as a guide for this measure of originality. You must use the rubric to direct the creation of your submission because it provides detailed criteria that will be used to evaluate your work. Each requirement below may be evaluated by more than one rubric aspect. The rubric aspect titles may contain hyperlinks to relevant portions of the course. A. Create a log-in form that can determine the user’s location and translate log-in and error control messages (e.g., “The username and password did not match.”) into two languages. B. Provide the ability to enter and maintain customer records in the database, including name, address, and phone number. C. Write lambda expression(s) to schedule and maintain appointments, capturing the type of appointment and a link to the specific customer record in the database. D. Provide the ability to view the calendar by month and by week. E. Provide the ability to automatically adjust appointment times based on user time zones and daylight saving time. F. Write exception controls to prevent each of the following. You may use the same mechanism of exception control more than once, but you must incorporate at least two different mechanisms of exception control. • scheduling an appointment outside business hours • scheduling overlapping appointments • entering nonexistent or invalid customer data • entering an incorrect username and password G. Use lambda expressions to create standard pop-up and alert messages. H. Write code to provide reminders and alerts 15 minutes in advance of an appointment, based on the user’s log-in. I. Provide the ability to generate each of the following reports: • number of appointment types by month • the schedule for each consultant • one additional report of your choice J. Provide the ability to track user activity by recording timestamps for user log-ins in a .txt file. Each new record should be appended to the log file, if the file already exists.
zvamature/spring-boot-react-ecommerce-app
eCommerce application based on the microservices architecture built using Spring Boot and ReactJS.
zvamature/tech-books-library
📚e-books in PDF and ePub formats across a wide range of technology stacks and topics
zvamature/transaction-service
Backbase Backend Developer Interview
zvamature/twitter-spring-reactjs
:bird: Twitter Clone. Using Java, Spring Boot, JWT, TypeScript, React.js, Redux-Saga, Material-UI
zvamature/wonderlabz-banking-account-api
An up-and-coming bank has approached you to create a prototypical core framework to integrate into their new API. The bank is upgrading their systems to handle an increasing user base, and are in need of a quick front end as a proof of viability. Due to their rapid deployment, they have completely negated any security measures, and are leaving it up to the developer to help enforce the rules. Your task is to create the basic functionality as defined below. (The addition of a functional UI for user-testing will be appreciated, but not required) Their business analyst requires the following; Two types of account per user, ‘Savings Account’ and a ‘Current Account’ Both accounts will allow the user to ‘Deposit’, ‘Withdraw’, and ‘Transfer money’, as well as keep a log of the Transaction History Savings Account Opening An account can only be opened through a minimum deposit of R1,000.00 Withdraw The account needs to have a minimum balance of R1,000.00 at all time Account balance must be decreased by the amount draw Each transaction must be saved to the Transaction History Deposit Account balance must be increased by the amount drawn Each transaction must be saved to the Transaction History Current Account Opening No requirements Withdraw The account can have an overdraft limit of R100,000.00 The overdraft must be calculated as a negative number A person cannot withdraw more than the (Current Balance + Overdraft) of the account. eg. If the person has R50,000 in their account, they will be allowed to withdraw a maximum of R150,000 Account balance must be decreased by the amount drawn Each transaction must be saved to the Transaction History Deposit Account balance must be increased by the amount drawn Each transaction must be saved to the Transaction History
zvamature/wonderlabz-developer-assessment
zvamature/ws-security