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

Added problem description #4

Open
wants to merge 102 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
ba003fc
Changed Base
vigneshhari Jan 15, 2018
ea3eb11
Changed Base
vigneshhari Jan 15, 2018
a48ed80
Added Code it Out Questions
vigneshhari Jan 15, 2018
de1319b
Euler Solution #79 Added
vigneshhari Jan 30, 2018
b82ab32
More Questions
vigneshhari Feb 26, 2018
7d207a4
Removed Useless stuff
vigneshhari Feb 26, 2018
f21575e
Added Google Code Jam Solutions (2018) And DAA Problem Solutions
vigneshhari Apr 7, 2018
a504c5c
Small Bug Fix
vigneshhari Apr 7, 2018
16d7417
made a commandline statement type calculator
vigneshhari Apr 18, 2018
41ccfe3
Added New Question from Competitive Programming Contests
vigneshhari Apr 23, 2018
17afe3f
Added Graph Data Structure
vigneshhari Apr 23, 2018
d6dfee5
Code Chef Question Answers
vigneshhari Apr 23, 2018
d9e70a2
Added DAA Programs
vigneshhari Apr 23, 2018
4521271
It is never brute forcing .. **NEVER** .. Learned that the hard way
vigneshhari Apr 24, 2018
c464c20
Updated Implementation Method
vigneshhari Apr 24, 2018
0c63517
Update on Dijkstras
vigneshhari Apr 25, 2018
b310c5f
Project Euler Solved another 5 questions
vigneshhari Apr 27, 2018
4877d5c
Project Euler Problems
vigneshhari Apr 27, 2018
004c815
problem 18 and 67 in Project Euler Done
vigneshhari Apr 30, 2018
2c091bb
Code Chef Problem
vigneshhari May 3, 2018
7c0e8f1
HackerRank Question Solved (Grading)
vigneshhari May 3, 2018
7ef6641
Hackerrank Practice
vigneshhari May 11, 2018
e5e3fe4
HackerEarth Even Tree Problem
vigneshhari May 11, 2018
966782c
HackerRank Snake And Ladders Solved
vigneshhari May 11, 2018
ae9e819
Solved More Hackrank Challenges
vigneshhari May 12, 2018
d54f18b
String Conversions are costly in python
vigneshhari May 12, 2018
b177d82
Hackerank Solutions Update
vigneshhari May 13, 2018
ff74238
Solved Diagonal Sum
vigneshhari May 13, 2018
94cbb0b
HackerRank Probelm Programmer Day
vigneshhari May 13, 2018
9e69f76
HackerRank Problem Pdf Designer Solved
vigneshhari May 13, 2018
5948327
Solved More Problems
vigneshhari May 14, 2018
5323bab
More Solutions
vigneshhari May 14, 2018
809b3cd
Strongest Password Solved
vigneshhari May 14, 2018
caa61fa
Solved More HackerRank Problems
vigneshhari May 14, 2018
14074ff
Seperate Numbers Problem Solved
vigneshhari May 14, 2018
c6f33bc
Weighted Uniform Strings Solved
vigneshhari May 14, 2018
8843ec1
More HackRank Questions Attempted
vigneshhari May 15, 2018
ad74176
Ice Cream Parlor Solved
vigneshhari May 15, 2018
924b37d
Ceasers Cipher Solved
vigneshhari May 15, 2018
5b20482
Recur Digit Solved
vigneshhari May 20, 2018
8c5a390
Updated Solution
vigneshhari May 25, 2018
a80f701
Ai Problem Solved Hackerrank
vigneshhari May 25, 2018
c9425d8
Code Sprint Problem 1 Solved
vigneshhari May 25, 2018
ee8facc
Solved Code Sprint Problem 2
vigneshhari May 25, 2018
3b192ac
CodeSprint Intermediate
vigneshhari May 26, 2018
e0260c2
Code Sprint Problem TLE
vigneshhari May 27, 2018
c740a7a
Partially Solved Another One
vigneshhari May 27, 2018
cfb94c5
Palindrome Index Solved
vigneshhari May 31, 2018
5237c91
Finished Palindrome Index
vigneshhari May 31, 2018
07e993d
Solved Problem
vigneshhari Jun 1, 2018
3d4f29d
Sherlocks Anagrams Solved
vigneshhari Jun 1, 2018
eef2ae9
Common Child Problem Solved
vigneshhari Jun 2, 2018
b626e89
Common Child Problem Solved
vigneshhari Jun 2, 2018
4da7ca2
Arrays DS Solved in java
vigneshhari Jun 2, 2018
93558d3
2d Array Problem Solved Java
vigneshhari Jun 2, 2018
859d794
Left Rotation Solved in java
vigneshhari Jun 2, 2018
a4a7b5c
Problem Solved . starting Suffix arrays
vigneshhari Jun 2, 2018
2524e6d
Learn Suffix Tree
vigneshhari Jun 3, 2018
16807be
Failed Attempt on Hour Rank 28
vigneshhari Jun 3, 2018
9707f6c
Added New Data structure
vigneshhari Jun 7, 2018
2e348e3
Added Trie Data Structure
vigneshhari Jun 8, 2018
e1d83bc
All Trie Questions Solved
vigneshhari Jun 8, 2018
1f051bb
Union Set Data Structure
vigneshhari Jun 8, 2018
4825d3c
Disjoint Set ADT
vigneshhari Jun 8, 2018
b276550
Queue with two stacks Solved
vigneshhari Jun 9, 2018
f2bd835
Balanced Braces Solved
vigneshhari Jun 9, 2018
c096523
Solved Mergin Communities Entirely
vigneshhari Jun 9, 2018
a161d64
Happiest Day Ever
vigneshhari Jun 9, 2018
470c7ef
Solved Kindergarden Adventures
vigneshhari Jun 9, 2018
cc33841
Simple Text editor implementation
vigneshhari Jun 10, 2018
3360259
solved Highest Palinfrome
vigneshhari Jun 14, 2018
526d94b
Merge branch 'master' of https://github.com/vigneshhari/Competitive_s…
vigneshhari Jun 15, 2018
bd2c29b
Designing with Python
vigneshhari Jun 16, 2018
84b4a84
Solved Find the missing no in string
vigneshhari Jun 16, 2018
a698e88
Added Some Question (Unsolved)
vigneshhari Jun 16, 2018
b263b7f
Merge branch 'master' of https://github.com/vigneshhari/Competitive_s…
vigneshhari Jun 18, 2018
1d9c9bc
Added a Pretty Square wave printer
vigneshhari Jul 3, 2018
129327f
Stacks Problem Solved
vigneshhari Jul 4, 2018
1b81534
Finished Equal Stack Problem
vigneshhari Jul 4, 2018
239c1e3
Solved Probelm 11
vigneshhari Jul 4, 2018
9d9d114
Solved Problem 31
vigneshhari Jul 4, 2018
1ff0222
Problem 38 Solved
vigneshhari Jul 6, 2018
bb973f4
Solved Problem 41 Euler Project
vigneshhari Jul 19, 2018
bd8d729
Solved Problem 48
vigneshhari Jul 19, 2018
11cb086
Solved Some other euler problems
vigneshhari Jul 19, 2018
76d034a
Started Solving Project Euler + by Hackerrank
vigneshhari Jul 21, 2018
74f8a39
Solved 4 problems
vigneshhari Jul 21, 2018
a0c3db4
Solved problem 5
vigneshhari Jul 21, 2018
31e3e25
8 done ~290 to go :(
vigneshhari Jul 21, 2018
8b1a024
Started Pen and paper based stuff
vigneshhari Jul 21, 2018
ba5bdd2
Solved 11 Questions
vigneshhari Jul 22, 2018
40168a7
Lost Intrest Actually
vigneshhari Jul 25, 2018
c1af0e2
Changed Lap
vigneshhari Sep 11, 2018
b84b57e
Partially solved count triplets
vigneshhari Sep 17, 2018
b652053
Solved Two Strings in Hacekrrank
vigneshhari Sep 17, 2018
caf2440
Solved Ransome Note
vigneshhari Sep 17, 2018
2712c74
Frequency Queries Problem Solved
vigneshhari Sep 18, 2018
ad3352c
Python Advanced Stuff
vigneshhari Sep 23, 2018
8ce3d2a
Default Dict in Python
vigneshhari Sep 27, 2018
fedd8e7
Solved Pattern-3 Question in IEEE Extreme Practice Challenge
vigneshhari Sep 28, 2018
b08ae5c
Python Learning
vigneshhari Oct 6, 2018
83dedfe
Added problem description
melbin1997 Oct 9, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/settings.json
Empty file modified .idea/competitive_programming.iml
100644 → 100755
Empty file.
Empty file modified .idea/inspectionProfiles/profiles_settings.xml
100644 → 100755
Empty file.
Empty file modified .idea/misc.xml
100644 → 100755
Empty file.
Empty file modified .idea/modules.xml
100644 → 100755
Empty file.
27 changes: 13 additions & 14 deletions .idea/workspace.xml
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "/usr/bin/python"
}
10 changes: 10 additions & 0 deletions Applied_Cs/Anagrams/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
*.iml
.idea
app/proguard-rules.pro
176 changes: 176 additions & 0 deletions Applied_Cs/Anagrams/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
Copyright 2016 Google Inc. All rights reserved.

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
8 changes: 8 additions & 0 deletions Applied_Cs/Anagrams/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This is the starter code for the Anagrams workshop.
This workshop is part of the Applied CS with Android course:

http://g.co/cswithandroid

Check the website for detailed instructions on how to implement this activity.

Version 1.0
1 change: 1 addition & 0 deletions Applied_Cs/Anagrams/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
27 changes: 27 additions & 0 deletions Applied_Cs/Anagrams/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion '25.0.0'

defaultConfig {
applicationId "com.google.engedu.anagrams"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.google.engedu.anagrams;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
24 changes: 24 additions & 0 deletions Applied_Cs/Anagrams/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.engedu.anagrams" >

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity
android:name=".AnagramsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Loading