Find Digits Hackerrank Solution |Codeityweb
CodeityWeb
by CodeityWeb
3y ago
Find Digits Hackerrank Solution Java and Python In this post we are going to discuss the Find Digits Hackerrank Solution using Java and Python as language of choice. The Problem Statement is as Follows: Given a integer find the count of digits that divide the integer.   Example: Suppose int i=12, the digits in the integer are 1 and 2 . Now 12 is divisible by 2 and also it is divisible by 1 i.e 12%2==0 & 12&1==0 thus the count will be 2 and that will be the answer.   Suppose integer is 13, now digits are 1,3 . 13 is not divisible by 3 but divisible by 1 so the count will be 1 ..read more
Visit website
Climbing the Leaderboard Hackerrank Solution |Codeityweb
CodeityWeb
by CodeityWeb
3y ago
Climbing the Leaderboard Hackerrank Solution  In this post we are going to discuss the Climbing the Leaderboard Hackerrank Solution in java. The problem statement is as follows: An arcade game player wants to climb to the top of the leaderboard and track their ranking. The game uses Dense Ranking, so its leaderboard works like this: The player with the highest score is ranked number 1 on the leaderboard. Players who have equal scores receive the same ranking number, and the next player(s) receive the immediately following ranking number.   Task : To determine the rank of the ..read more
Visit website
Sherlock and Anagrams Hackerrank Solution | Codeityweb
CodeityWeb
by CodeityWeb
3y ago
Sherlock and Anagrams Hackerrank Solution by Codeityweb  In this post we are going to discuss the Sherlock and Anagrams Hackerrank Solution in java. Before looking at the problem statement and the solution lets see some terms that are needed for understanding the questions. 1.What are Anagrams?  Two strings are anagrams of each other if the letters of one string can be rearranged to form the other string. lets say we have two Strings a="codi" ,b="oicd".Here you can see that the letter number of characters in both the strings are same. a:{c-1,o-1,d-1,i-1},b:{c-1,o-1,d-1,i-1}. So ..read more
Visit website
Compare The Triplets Hackerrank Solution |Codeityweb
CodeityWeb
by CodeityWeb
3y ago
Compare The Triplets Hackerrank Solution |Codeityweb In this Post we are going to discuss the   Compare The Triplets Hackerrank Solution in Java and python Problem Statement: Two Programmers Alice and Bob Created a problem for hackerrank and they got ratings after reviewing their problems . Alice Rating are stored in suppose array A and Bob rating is stored in say array B. Task:  Know the Task is to check who got more awards and awards will be calculated by checking who got more number for  rating in more number of review. That is if Alice got [3,2,4] rating and Bob got [2,2 ..read more
Visit website
A Very Big Sum Hackerrank Solution |Java,Python| Codeityweb
CodeityWeb
by CodeityWeb
3y ago
A Very Big Sum Hackerrank Solution in java and python | Codeityweb Problem Description: You are asked to calculate and print the sum of the elements in an array, but the elements in the array may be quite huge and it cannot be stored in int value. In this post we are going to discuss A very big sum hackerrank solution in java with code and also in python. It is not a difficult question but as a point of warmup exercise we are discussing the question here. Inputs can be like this: 1000000001, 1000000002 ,1000000003, 1000000004, 1000000005   A Very Big Sum Hackerrank Solution Java: static ..read more
Visit website
Hackerrank Solutions
CodeityWeb
by CodeityWeb
3y ago
Hackerrank Solutions By Codeityweb In this post we are providing the list of hackerrank solutions that are discussed and solved on the codeityweb website . The list consists of hackerrank solutions for Competitive Sql along with other practice question solutions.   So the list is as follows: The Report HackerRank Solution  Top Competitors HackerRank Solution   Placements HackerRank Solution  Revising the Select Query II Hackerrank Solution   Revising the Select Query I HackerRank Solution   2 Ways To Solve The Pairs Hackerrank Problem  Making Anagrams -Hacke ..read more
Visit website
The Report - HackerRank Solution | Joins
CodeityWeb
by CodeityWeb
3y ago
The Report - SQL | Joins | HackerRank Solution  In this post we are going to discuss The Report Hackerrank Solution using Joins. So the Question is as follows: You are given two tables: Students and Grades. Students contains three columns ID, Name and Marks. Grades contains the following data:  Task: The task is to generate a report containing three columns,Name,Grade,Mark. Student who got grades less than 8 should not be included. The grades should be in descending order and if grades are same then arrange them as per their Names. Use NULL as "Name" for students who got Grades le ..read more
Visit website
Placements - HackerRank Solutions | SQL | Advanced Join
CodeityWeb
by CodeityWeb
3y ago
Placements - HackerRank Solutions | Practice | SQL | Advanced Join In this post we are going to discuss the Placements - hackerrank solution that is a part of SQL practice module on Hackerrank in Advanced join section. So lets start ! Problem Statement: You are given three tables: Students, Friends and Packages. Students contains two columns: ID and Name. Friends contains two columns: ID and Friend_ID (ID of the ONLY best friend). Packages contains two columns: ID and Salary (offered salary in $ thousands per month). Students Table Schema:  Friends Table Schema: Packages an ..read more
Visit website
Top Competitors - HackerRank Solutions
CodeityWeb
by CodeityWeb
3y ago
Top Competitors - HackerRank Solutions In this post we are going to discuss the Top Competitors - HackerRank Solution. So the problem statement is as follows: You have to write a query to print the id and name of the hackers who has scored maximum in more than one challenges.And order the output in decreasing order of the number of challenges and if the number of challenges are same then order them by the increasing hackerid.   Schema for the tables: Hackers:   Difficulty: Challenges: Submissions:   Understanding Tables: You can see that we have 4 different ta ..read more
Visit website
How Creating Own Password Manager Can Ease Your Pain. | by Codeityweb | Jan, 2021
CodeityWeb
by CodeityWeb
3y ago
Creating Your Own Best Password Manager Their are many Password Manager available but in this post we will create our own offline password manager in python. And I personally use this application for storing my passwords. We all uses different applications and websites everyday and it requires us to login ,some of them give us option to login using OAuth and we can signup and login using it. But in many cases we have to register using our Email Id and set a password for our account. We have to make sure the Password is not common so that it cannot be guessed using dictionary attack. Also t ..read more
Visit website

Follow CodeityWeb on FeedSpot

Continue with Google
Continue with Apple
OR