Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my issue #663

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Geek Week: Local is a week-long hackathon of creating hacks, solving problems, a
## What are these Challenges?
Geek Week: Local will run from 14/03/21 to 21/03/21.

During this time, you can expect challenges for all skill levels. These challenges can be completed on your own time, and new ones will be released each day on our website! Once the daily challenges are announced, you’ll have 24 hours to complete and submit them in order to
earn those points on the leader-board.
During this time, you can expect challenges for all skill levels. These challenges can be completed on your own time, and new ones will be released each day on our website! Once the daily challenges are announced, you’ll have 24 hours to complete and submit them in order to earn those points on the leader-board.

If the daily challenges aren’t quite your speed, there will also be plenty of week-long challenges you can complete at any time. These will range from quick technical challenges to tasks you can complete with your guild-mates (guild=team), both beginner-friendly and technically advanced so there is something for everyone.

Expand Down
31 changes: 31 additions & 0 deletions anshita.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;


// } Driver Code Ends
// Function to return minimum number of jumps to end of array
int minJumps(int arr[], int n){
// Your code here
}


// { Driver Code Starts.

int main()
{
int t;
cin>>t;
while(t--)
{
int n,i,j;
cin>>n;
int arr[n];
for(int i=0; i<n; i++)
cin>>arr[i];

cout<<minJumps(arr, n)<<endl;
}
return 0;
}
// } Driver Code Ends
Binary file added anshita0911/DAY5/Screenshot (439).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (440).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (441).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (442).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (443).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (454).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (455).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (456).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (457).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (458).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (459).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (460).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (461).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (462).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (463).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (465) - Copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (466) - Copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (466).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY5/Screenshot (467).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions anshita0911/DAY5/codes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added anshita0911/DAY6/Screenshot (574).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (575).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (576).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (577).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (578).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (579).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anshita0911/DAY6/Screenshot (580).png
Binary file added anshita0911/DAY6/Screenshot (581).png
Binary file added anshita0911/DAY6/Screenshot (582).png
Binary file added anshita0911/DAY6/Screenshot (583).png
Binary file added anshita0911/DAY6/Screenshot (584).png
Binary file added anshita0911/DAY6/Screenshot (585).png
1 change: 1 addition & 0 deletions anshita0911/DAY6/create
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions anshita0911/anshi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added anshita0911/day3code/hack1.docx
Binary file not shown.
Binary file added anshita0911/day3code/hack2.docx
Binary file not shown.
Binary file added anshita0911/day3code/hack3.docx
Binary file not shown.
Binary file added anshita0911/day4/Screenshot (412).png
Binary file added anshita0911/day4/Screenshot (413).png
Binary file added anshita0911/day4/Screenshot (414).png
Binary file added anshita0911/day4/Screenshot (415).png
Binary file added anshita0911/day4/Screenshot (416).png
Binary file added anshita0911/day4/Screenshot (418).png
Binary file added anshita0911/day4/Screenshot (422).png
Binary file added anshita0911/day4/Screenshot (423).png
1 change: 1 addition & 0 deletions anshita0911/day4/codes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

121 changes: 121 additions & 0 deletions anshita0911/doc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/*

Time complexity: O(N^2)
Space complexity: O(1)

where �N� is the length of the given string �s�.


*/

bool checkUnique(string &s)
{
// Iterate through the given string 's'.
for (int i = 0; i < s.length(); i++)
{
// Again, Iterate through the given string.
for (int j = i + 1; j < s.length(); j++)
{
// If, found same character at different indexed then return false.
if (s[i] == s[j])
{
return false;
}
}
}

return true;
}







/*
Time Complexity: O(N*M).
Space Complexity: O(N*M).

Where N is the length of the string a and M is the length of string b.
*/

#include <vector>
#include <string>

bool isInterleave(string a, string b, string c)
{

int n1 = a.length(), n2 = b.length(), n3 = c.length();

//Create a dp array of size (n1+1)*(n2+1) and initialise it to false.
vector<vector<bool>> dp(n1 + 1, vector<bool>(n2 + 1, false));

//If the length of c is not equal to the sum of the length of a and b, then return false.
if (n1 + n2 != n3)
{
return false;
}
int i, j;

for (i = 0; i <= n1; i++)
{
for (j = 0; j <= n2; j++)
{

//If both i and j are 0, then simply asnwer is true.
if (i == 0 && j == 0)
{
dp[i][j] = true;
}

//If the value of�







/*
Time Complexity : O(N^3)
Space complexity : O(1)

where N is the size of the input string
*/

bool isPalindrome(string &str, int start, int end)
{
while (start < end)
{
if(str[start] != str[end])
{
return false;
}

++start;
--end;
}

return true;
}

int palindromicSubstrings(string str)
{
int n = str.length();
int ans = 0;

for (int i = 0; i < n; ++i)
{
for (int j = i; j < n; ++j)
{
if(isPalindrome(str, i, j))
{
++ans;
}
}
}

return ans;
}

18 changes: 18 additions & 0 deletions readme1111.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
##readme
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provide space between # and some texts to get a title in readme file





name: anshita banthia


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just use
instead of so much of enters.
is a html command, also works in markdown files.



registration number: 20BCE10425



i am anshita banthia cyrrently pursuing btech in computer science from vit university.