alpha037 / data-structures-and-algorithms Goto Github PK
View Code? Open in Web Editor NEWImportant data structures and algorithms implemented in Java along with solutions to AlgoExpert problems and some Leetcode problems.
License: MIT License
Important data structures and algorithms implemented in Java along with solutions to AlgoExpert problems and some Leetcode problems.
License: MIT License
below link has algo expert questions.
https://github.com/das-jishu/algoexpert-data-structures-algorithms/blob/master/Questions/
A folder containing the solutions to the data structures and algorithms problems in Cracking the Coding Interview. I think it may be useful for people testing their solutions. Since there are many approaches they can just copy/paste the solutions here and compare their code's behavior. Or, they can just reference solutions from here for better accessability (desk can get cramped with such a large book).
I am currently working my way through the book and can upload solutions as I go.
You have added solutions to algoexpert problems but you haven't added any questions. could you please add them? I couldn't find questions anywhere. Questions refer to problem statement of questions.
NodeDepths problem in algoexpertsolution
ques: Need to find the depth of the tree.
below is the solution
int nodeDepth(TreeNode t, int ldepth, int rdepth) {
if (t == null) {
return 0;
} else {
ldepth = nodeDepth(t.left, ldepth, rdepth) + 1;
rdepth = nodeDepth(t.right, ldepth, rdepth) + 1;
if (ldepth > rdepth) {
return ldepth;
} else {
return rdepth;
}
}
}
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.