romanboy Goto Github PK
Name: Radu Ciuca
Type: User
Blog: www.radu.tech
Name: Radu Ciuca
Type: User
Blog: www.radu.tech
Write a Java class with a method that generates an array of 1 million random integers. Add three methods to this class for bubble sort, insertion sort and quick sort to use on this array. Time each algorithm and compare the times. Draw a graph of time versus size of the array by varying the elements of the array from starting from 10 in appropriate regular steps for the algorithms and comment on the shape of the graph in relation to efficiency of each of the algorithms.
Create a data file consisting of at least 100 string values. You can create the list yourself, or perhaps copy the values from a text file of some type, or you can even create the file by generating random strings. Sort the file using each of the sorting algorithms mentioned in 2.1 above. There are a number of things that can go wrong when a program accesses an external resource such as a file. E.g. file may not exit in the folder the program expects it to be, file may be in a different format etc. Your program should handle these and other exceptions to demonstrate the implementation of error handling and reporting.
Palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. Write a function that checks if a given string of one or more words is a palindrome or not. Your function can assume that each word consists of at least two letters and that each word is separated by one space, with no punctuation marks. Use the following palindromes (e.g. “Never odd or even”, “Hannah”, “If I had a hifi”) as well as any non-palindrome strings to check your code:
Uni project for Java
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.