//Day 5: Template Literals hackerrank 10 days of javascript solution function sides(literals, ...expressions) { const [area, perimter] = expressions; const s1 = (perimter + Math.sqrt(Math.pow(perimter,2) - 16 * area))/4; const s2 = (perimter - Math.sqrt(Math.pow(perimter,2) -...
https://www.hackerrank.com/domains/tutorials/30-days-of-code http://codingbat.com/python https://codefights.com/ Textbooks: https://automatetheboringstuff.com/ Cheat Sheets: https://ehmatthes.github.io/pcc/cheatsheets/README.html https://learnxinyminutes.com/docs/python3/ Frontend (HTML/...
HackerRank | https://www.hackerrank.com/ | @hackerrank | paid | End-to-end technical recruiting platform for hiring engineers. Payroll Gusto | https://gusto.com | @gustohq | $29/mo + $6/user | Payroll and benefits that put people first, easy setup, automated tax filings and thoughtful...
开发者ID:rshaghoulian,项目名称:HackerRank_solutions,代码行数:21,代码来源:Solution.java 示例2: showPerson ▲ importjava.time.LocalDate;//导入方法依赖的package包/类@FXMLpublicvoidshowPerson(Person person){if(person ==null) { firstNameLabel.setText(""); lastNameLabel.setText(""); cityLabel.s...
hackerrank Day15: Linked List 1#include <iostream>2#include <cstddef>3usingnamespacestd;4classNode5{6public:7intdata;8Node *next;9Node(intd){10data=d;11next=NULL;12}13};14classSolution{15public:16Node* insert(Node *head,intdata)17{18Node *temp =newNode(data);19if(head ==NULL){...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26classSolution{public: vector<vector<int>>levelOrderBottom(TreeNode* root) {if(!root)returnvector<vector<int>>(); vector<vector<int> > res; queue<TreeNode*> q; ...