Java Placement Course
Please feel free to add the rest of the code files or any additional topic that you feel will be helpful by creating a pull request for this repo. Please note - topics like Space & Time Complexity, OOPs have not been included.
The java codes for the intial part of the video lectures i.e. for basics where we don't import " java.util.* " are missing.
Using 1 for Loop
Please leave your review for the contributions student making.
I used the Spiral Matrix code for solving Leetcode problem, it seems like some of the testcases are not getting passed. I changed the code little bit, by replacing the increment/decrement variables and conditional statement for printing Bottom and Right Boundaries.
Checkout this:
public List<Integer> spiralOrder(int[][] matrix) {
int startRow = 0;
int startCol = 0;
int endRow = matrix.length-1;
int endCol = matrix[0].length-1;
List<Integer> list = new ArrayList<Integer>();
while(startCol <= endRow && startRow <= endCol){
for(int i=startRow; i<=endCol; i++)
list.add(matrix[startCol][i]);
startCol++;
for(int i=startCol; i<=endRow; i++)
list.add(matrix[i][endCol]);
endCol--;
if (startCol <= endRow){
for(int i=endCol; i>=startRow; i--)
list.add(matrix[endRow][i]);
endRow--;
}
if (startRow <= endCol){
for(int i=endRow; i>=startCol; i--)
list.add(matrix[i][startRow]);
startRow++;
}
}
return list;
}
Validate Binary Search Tree code error
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.