thiendang-20231214's People
thiendang-20231214's Issues
Implement Code Inspector module to demonstate requirement in the Challenge
Test Question No. 1
- Please use React, but please don’t use create-react-app, Consider other better alternative
- Try to use Material UI v5 for UI framework or any other preferred framework
- Please use Typescript only
- Any library that can help with your development is acceptable.
- Please use the following links to get prices, and info. This will give you some ideas
1. [https://www.coingecko.com/en/api/documentation
2. [https://www.coingecko.com/en/coins/ethereum - Freedom to design a user-friendly UI screen to display cryptocurrency price chart, But the user must be able to do the following actions.
1. The user can search coins but not necessarily give us the correct exact coin name
2. The search box should show trending coins to suggest users at first when the box has the focus
3. User can see their given coin price chart in a specific time range, But we should set the default range at first.
4. The user can choose other ranges, But we should not allow options too much
5. User can see their given coin price statistic as well (ohlc) - Please dockerise it.
- After you are satisfied with your work, please share your GitHub repo to my email.
Test Question No. 1
Given an array of stock prices, where the value at each index represents the price of a stock on a specific day, implement a function calculateMaxProfit
to determine the maximum profit that can be achieved by buying and selling the stock on different days.
- The function should take an array of stock prices as input.
- It should return the maximum profit that can be obtained by buying one unit of stock on a specific day and selling it on a future day.
- If no profit can be achieved, the function should return 0.
Example:
const stockPriceList = [2, 3, 6, 4, 3];
calculateMaxProfit(stockPriceList); // Should return 4
Chart data not updated when rate limiting from coin gecko is reaching
Continuing click on ui might got network error because rate limiting from coin gecko.
Then it will make chart data not updated as a result.
Solution: Resetting chart data during user either change coin|dayrange|charttype
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.