C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Select Cover Image
Crop
Set As Cover Image
1d
✖
Follow
Friend Request
Author
Rikam Palkar
.NET Full Stack, DSA, C#, Blazor, WPF
Mumbai
(India)
33
4.9m
37.7k
Platinum
50
AUTHOR
share
Member since Nov 26 2019
Recognitions & awards
Jun 2020
Jun 2021
Jun 2022
Jun 2023
Jun 2024
Contributions
Articles
126
Ebooks
1
Forums
21
Videos
0
Blogs
5
Badges
C# Skill Challenge
History
Jul 04, 2021
Expand
Awards & Certifications
MCA
VJTI
Expertise
Blazor
63%
DevOps
18%
C#
18%
Others
1%
About
"Microsoft MVP", Five-time C# Corner "Most Valuable Professional", "Verified author" on Medium and a "Top voice" on LinkedIn, Author behind 'WPF Simplified' and 'Blazor Simplified'.I'm passionate about making the world a better place by writing scalable, efficient code, I'm skilled at Blazor, WPF, C#, and Data Structures & Algorithms.
https://rikampalkar.github.io
https://github.com/RikamPalkar/DSA-Simplified
https://www.youtube.com/@rikampalkar
https://www.facebook.com/2769592976427708
http://twitter.com/rikam_cz
https://www.linkedin.com/in/rikampalkar/
https://github.com/RikamPalkar
Expand
Activity
I tried to optimize, but brute force seems to be the way.
Leetcode 2176
Problem:
https://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array/?envType=daily-question&envId=2025-04-17
Solution:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/2176. Count Equal and Divisible Pairs in an Array.cs
Post
6h
Docker vs. Virtual Machines (VMs)
3d
1k
0
Article
500 #LeetCode questions later & if you ask me to explain recursion, I’ll just say it might actually be a pyramid scheme!
Profile:
https://leetcode.com/u/Rikam/
#DSA #ProblemSolving #Programming
Post
5d
% vs string builder
Time: O((high - low + 1) * sb) => O(high−low)
Space: O(1)
#Leetcode: 2843. Count Symmetric Integers
#problem:
https://leetcode.com/problems/count-symmetric-integers/?envType=daily-question&envId=2025-04-11
#Code:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/2843. Count Symmetric Integers.cs
#DSA #ProblemSolving
Post
6d
Easy, but I aged three years trying to decode the description.
Time: O(2n) =>O(n)
Space: O(n)
#Leetcode 3375. Minimum Operations to Make Array Values Equal to K
#Problem:
https://leetcode.com/problems/minimum-operations-to-make-array-values-equal-to-k/description/?envType=daily-question&envId=2025-04-09
#Solution:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/3375. Minimum Operations to Make Array Values Equal to K.cs
#DSA #ProblemSolving #Programm
Post
1w
Apparently (i + 1) / 3 was too optimistic!
Easy:
Time: O(n)
Space: O(n)
Leetcode 3396
Code:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/3396. Minimum Number of Operations to Make Elements in Array Distinct.cs
Problem:
https://leetcode.com/problems/minimum-number-of-operations-to-make-elements-in-array-distinct/?envType=daily-question&envId=2025-04-08
DSA, Programming
Post
1w
Leetcode 368. Largest Divisible Subset
Algorithm
1. Sort the input array in ascending order to ensure that if a is divisible by b, an appears after b.
2. Create a dp array where dp[i] represents the size of the largest divisible subset that ends at index i.
3. For each element at index r from left to right, check all previous elements at indices less than r. If nums[r] is divisible by nums[l], update dp[r] as the maximum of its current value and dp[l] plus 1.
4. Backtrack from the end
Post
1w
Re: Textboxes Not Working
1w
Forum
Re: Why we need Data Templates in XAML UI Design ?
1w
Forum
Re: c#.net listbox update problem
1w
Forum
Re: how to update VB .net code to C#
1w
Forum
Re: How to display below data using Sql Query
1w
Forum
Docker: Install, Run, and Test Your First Container - DotNet series
1w
3.3k
0
Article
O(n^3) => O(n)
Leetcode 2873. Maximum Value of an Ordered Triplet I
Code:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/2873. Maximum Value of an Ordered Triplet I.cs
Post
2w
Dark or Light, Choose Your Side You Must: Theming in Blazor - Yoda
2w
5.8k
0
Article
Dynamic programming: Bottom-Up
Leetcode 2140: Solving Questions With Brainpower
Time: O(n), Space O(n)
Code:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/2140. Solving Questions With Brainpower.cs
DSA
Post
2w
#Leetcode 2033: Minimum Operations to Make a Uni-Value Grid
#Approach: Sort and Compare mid
Time: O(n log n)
Space: O(n)
Code:
https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/2033. Minimum Operations to Make a Uni-Value Grid.cs
#DSA #Programming
Post
3w
How to Dependency Inject in Blazor Applications
3w
12k
1
Article
Inheritance in Blazor? Because Components Don’t Have to Start from Scratc...
4w
13.9k
0
Article
Making Sense of yield in C#
Mar 18
15.6k
0
Article
Featured videos
View all
Understanding Domain-driven Design
Dec 02
3.4k
Enhancing Forms with React Server Components
Oct 24
9.4k
KEYNOTE - Power of AI and Code Quality and Performance
Jul 08
10.5k
Learn How to Build a Rapid POC - AMA
4y
16.2k
Public Speaking - Body Language Matters
4y
12k
Suggested learning
View all
Object Oriented Programming Using C#
Read by 47.3K people
Download Now!
Programming List with C#
Read by 35.2K people
Download Now!
Programming Strings using C#
Read by 23.4K people
Download Now!
Trending
View all
Microsoft 365 Admin Enterprise E5/E3/F3 Services
How to Become a Data Scientist
Introduction to Copilot Pages
Inheritance in Blazor? Because Components Don’t Have to Start from Scratch!
How to Create Own Domain Mail ID by Microsoft Admin Portal
How to Dependency Inject in Blazor Applications
How to Use the Power Apps Service License and Its Features
Efficiently Splitting SharePoint Column Values Using Power Apps Split Function
Dark or Light, Choose Your Side You Must: Theming in Blazor - Yoda
How Do We Set Up Two-Factor Authentication on an Email ID
Message