Hi, I'm Tarun !
A freelance web developer from 🇮🇳India who loves to build stuffs useful for many.
- Always learning.
- Open for freelance projects.
- Working on a private repository.
This is an attempt to solve 450 questions carefully curated by Love Babbar.
A freelance web developer from 🇮🇳India who loves to build stuffs useful for many.
@tarunsinghdev can I add questions for this topic?
If yes, please assign this issue to me.
Thanks!
Wanna do this sheet together?? which topic u on now
Instead of checking if (head == NULL) and then else if (head->next == head), you could directly combine these into one check for clarity:
if (head == NULL || head->next == head)
return true;
Here's a slightly refined version
#include
using namespace std;
struct Node {
int data;
struct Node *next;
Node(int x) {
data = x;
next = NULL;
}
};
class Solution {
public:
// Function to check if the linked list has a loop.
bool detectLoop(Node *head) {
if (head == NULL || head->next == head)
return true;
Node *slowPtr = head;
Node *fastPtr = head->next;
while (fastPtr != slowPtr) {
if (fastPtr == NULL || fastPtr->next == NULL)
return false;
slowPtr = slowPtr->next;
fastPtr = fastPtr->next->next;
}
return true;
}
};
I want to add more graph problem and write their solution
Can I add some tree problems under Hacktoberfest2022 contribution?
I want to add more Linked List problems and write their solution.
please assign me this issue for hacktoberfest.
Hi !!
Hope you are doing well !!
As I Explored this Repository I found DSA in C ++.
Can I contribute in Javascript? I am sure that others who have done DSA in Javascript will contribute to this Repository If it is allowed.
Please let me know if you would accept this proposal.
@tarunsinghdev Although I solved more than half of the DSA problem of Love Babbar, I want to contribute for it. I had many efficient solution for the DSA sheet solution.
add time complexity and space complexity of each problem and level of difficulty
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.