raghavddps23 / learninggo- Goto Github PK
View Code? Open in Web Editor NEWRepository to learn the Go programming language while submitting simple solutions!
Repository to learn the Go programming language while submitting simple solutions!
Please put it into the easy folder.
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Put this in the medium folder.
Integers in each row are sorted from left to right.
The first integer of each row is greater than the last integer of the previous row.
Input and Output format
Input: matrix = [[1,3,5,7],[10,11,16,20],[23,30,34,50]], target = 3
Output: true
Write a program in go for the same
Please put it into the medium folder.
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Put this in the medium folder.
Integers in each row are sorted from left to right.
The first integer of each row is greater than the last integer of the previous row.
Input and Output format
Input: matrix = [[1,3,5,7],[10,11,16,20],[23,30,34,50]], target = 3
Output: true
Write a program in go for the same
Add Bubble sort algorithm in golang
Add the Queue Data structure in the Medium Folder.
For guide on how to get started, refer to the Stack Data Structure implemented in the Medium Folder
You need to create 2 files
For understanding how a queue works, refer this article on GeeksForGeeks
https://www.geeksforgeeks.org/array-implementation-of-queue-simple/
Add the solution for this problem in Go in the medium folder.
Example: Given an input like this
4 4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Output:
1 2 3 4 8 12 16 15 14 13 9 5 6 7 11 10
The first two lines indicating the number of rows and columns and the next line contains the elements row by row, we are supposed to print the spiral order traversal of the matrix.
Concepts required - Variables/If else statements/loops
Suggest an approach to organize the programs better and then raise a Pull Request to restructure the repository and improve the documentation for the repository as well.
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.