Git Product home page Git Product logo

frontender's Projects

codecehef-dominant2 icon codecehef-dominant2

You are given an array � A of length � N. An element � X is said to be dominant if the frequency of � X in � A is strictly greater than the frequency of any other element in the � A.

codechef-audible icon codechef-audible

Chef's dog binary hears frequencies starting from 67 67 Hertz to 45000 45000 Hertz (both inclusive). If Chef's commands have a frequency of � X Hertz, find whether binary can hear them or not.

codechef-carry-gold icon codechef-carry-gold

The gold mine contains a total of � X kg of gold. Every person has the capacity of carrying up atmost atmost � Y kg of gold. Will Chef and his friends together be able to carry up all the gold from the gold mine assuming that they can go to the mine exactly once.

codechef-creditscore icon codechef-creditscore

To access CRED programs, one needs to have a credit score of 750 750 or more. Given that the present credit score is � X, determine if one can access CRED programs or not. If it is possible to access CRED programs, output YES YES, otherwise output NO NO.

codechef-credscore icon codechef-credscore

To access CRED programs, one needs to have a credit score of 750 750 or more. Given that the present credit score is � X, determine if one can access CRED programs or not.

codechef-equalele icon codechef-equalele

You are given an array � A of size � N. In one operation, you can do the following: Select indices � i and � j ( � ≠ � ) (i=j) and set A i ​ =A j ​ . Find the minimum number of operations required to make all elements of the array equal.

codechef-f1rule icon codechef-f1rule

Chef has finally got the chance of his lifetime to drive in the � 1 F1 tournament. But, there is one problem. Chef did not know about the 107% rule and now he is worried whether he will be allowed to race in the main event or not.

codechef-hs08test icon codechef-hs08test

Pooja would like to withdraw X $US from an ATM. The cash machine will only accept the transaction if X is a multiple of 5, and Pooja's account balance has enough cash to perform the withdrawal transaction For each successful withdrawal the bank charges 0.50 $US. Calculate Pooja's account balance after an attempted transaction.

codechef-instagram-question icon codechef-instagram-question

Chef categorises an instagram account as spam, if, the following count of the account is more than 10 10 times the count of followers. Given the following and follower count of an account as � X and � Y respectively, find whether it is a spam account.

codechef-manipulate icon codechef-manipulate

Ezio can manipulate at most � X number of guards with the apple of eden. Given that there are � Y number of guards, predict if he can safely manipulate all of them

codechef-min-height icon codechef-min-height

Chef's son wants to go on a roller coaster ride. The height of Chef's son is � X inches while the minimum height required to go on the ride is � H inches. Determine whether he can go on the ride or not.

codechef-petstore icon codechef-petstore

Alice decides to buy some of these � N animals. Bob decides that he will buy all the animals left in the store after Alice has made the purchase. Find out whether it is possible that Alice and Bob end up with exactly same multiset of animals.

codechef-the-three-topics icon codechef-the-three-topics

The Chef has reached the finals of the Annual Inter-school Declamation contest. For the finals, students were asked to prepare 10 10 topics.

codechef-three-topics icon codechef-three-topics

On the contest day, Chef gets topic � X. Determine whether Chef has any chances of winning the competition. Print "Yes" if it is possible for Chef to win the contest, else print "No".

codechef-tlg- icon codechef-tlg-

Your task is to help the Manager find the winner and the winning lead. You may assume that the scores will be such that there will always be a single winner. That is, there are no ties.

codechef-tworanges icon codechef-tworanges

Chef has two ranges [ � , � ] [A,B] and [ � , � ] [C,D]. Chef needs to find the number of integers that belong to at least one of the ranges. Note: A range [ � , � ] [P,Q] contains all the integers { � , � + 1 , � + 2 , … , � − 1 , � } {P,P+1,P+2,…,Q−1,Q}.

codechef-volume-control- icon codechef-volume-control-

Chef wants to change the volume from � X to � Y. Find the minimum number of button presses required to do so.

codechef-wordle icon codechef-wordle

Chef invented a modified wordle. There is a hidden word � S and a guess word � T, both of length 5 5. Chef defines a string � M to determine the correctness of the guess word. For the � � ℎ i th index:

codechef-xjump icon codechef-xjump

Chef is currently standing at stair 0 0 and he wants to reach stair numbered � X. Chef can climb either � Y steps or 1 1 step in one move. Find the minimum number of moves required by him to reach exactly the stair numbered � X.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.