GeeksforGeeks
17.4K subscribers
1.83K photos
34 videos
24 files
2.76K links
Official Hub ✅

Your coding haven – where tech meets simplicity.

Discover:
😂 Coding Laughter
📘 Curated Study Material
💎 Exclusive Offers

Utilize every service we provide and make a promise to find better opportunities for yourself! #gfgkarlohojayega!
Download Telegram
We know you get it 😉
🤣16👍2
Problem Of The Day: Sum of leaf nodes in BST

This Problem Is Sponsored by Indeed

Your task is to complete the function is MaxHeap() which takes the array arr[] and its size n as inputs and returns True if the given array could represent a valid level order representation of a Max Heap, or else, it will return False.

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. Upload your resume today on Indeed, and build a career in tech! #codeyourcareer
🔥2
Join our contest GFG Weekly Coding Contest #142– your go-to preparation ground!
.
.
Register for Free!
.
.
This Contest is sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. So, sign up on Indeed and get job alerts on your Whatsapp to always stay on track!
Upload your resume on Indeed: https://indeedhi.re/4bu1col
👍2
Problem Of The Day: Game with String

This Problem Is Sponsored by Indeed

Your task is to complete the function minValue() which takes s and k as input parameters and returns the minimum possible required value.

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. Upload your resume today on Indeed, and build a career in tech! #codeyourcareer
Find the output of the following program: a = {} a[1] = 1 a['1'] = 2 a[1]= a[1]+1 count = 0 for i in a: count += a[i] print(count)
Anonymous Quiz
21%
2
22%
4
5%
1
51%
Error
👍8👎1
Don't miss the daily challenge – the 'Problem of the Day' by GeeksforGeeks, Sponsored by Indeed.

Solve today's problem: https://www.geeksforgeeks.org/problem-of-the-day
.
.
Dive into your dream employers as Indeed brings an insider's peek for employers with its company pages.

Get ready to Build your career in tech with Indeed X GeeksforGeeks!
Upload your resume on Indeed: https://indeedhi.re/3OONMcC

#codeyourcareer
❤4👍3
Our CEO is always a source of great motivation. 🤗
👏8🗿6❤3👍3
Problem Of The Day: Boolean Parenthesization

This Problem Is Sponsored by Indeed

Your task is to complete the function countWays() which takes n and s as input parameters and returns number of possible ways modulo 1003.

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. Upload your resume today on Indeed, and build a career in tech! #codeyourcareer
👍2
A full binary tree with 6 non-leaf nodes contains a maximum of:
Anonymous Quiz
48%
13 nodes
18%
6 nodes
15%
9 nodes
18%
11 nodes
Problem Of The Day: Distinct occurrences

This Problem Is Sponsored by Indeed

Your task is to complete the function subsequenceCount() which takes two strings as argument s and t and returns the count of the sub-sequences modulo 109 + 7..

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. Upload your resume today on Indeed, and build a career in tech! #codeyourcareer
🤌
❤10👍1
Problem Of The Day: Buy and Sell a Share at most twice

This Problem Is Sponsored by Indeed

Complete the function maxProfit() which takes an integer array price as the only argument and returns an integer, representing the maximum profit, if only two transactions are allowed.

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. Upload your resume today on Indeed, and build a career in tech! #codeyourcareer
👍2
😁8
Problem Of The Day: Maximum Sum Problem
This Problem Is Sponsored by Indeed

A number n can be broken into three parts n/2, n/3, and n/4 (consider only the integer part). Each number obtained in this process can be divided further recursively. Find the maximum sum that can be obtained by summing up the divided parts together.

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. 320K monthly jobs added. 160K+ companies hiring. Upload your resume today on Indeed. #codeyourcareer
Who better than him?
😁17👍2
Lekin solution kahan hai? 🫠
❤3
Problem Of The Day: Reach A Given Score
This Problem Is Sponsored by Indeed

Few hours left before the day is over! Solve this problem right away!

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. 320K monthly jobs added. 160K+ companies hiring. Upload your resume today on Indeed. #codeyourcareer
👍1
Problem Of The Day: Power Set

This Problem Is Sponsored by Indeed

Few hours left before the day is over! Solve this problem right away!

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. 320K monthly jobs added. 160K+ companies hiring. Upload your resume today on Indeed. #codeyourcareer
👀
🔥15👍1
Problem Of The Day: Play With OR

This Problem Is Sponsored by Indeed

Few hours left before the day is over! Solve this problem right away!

Solve and submit to win Geekbits and get exclusive goodies!

This POTD is Sponsored by Indeed

Indeed- your go-to-destination for all things related to job search. 320K monthly jobs added. 160K+ companies hiring. Upload your resume today on Indeed. #codeyourcareer
👨‍💻2