Coder Baba
2.41K subscribers
1.01K photos
23 videos
722 files
723 links
Everything about programming for beginners.
1 and only official telegram channel of CODERBABA India.

Content:
.NET Developer,
Programming (ASP. NET, VB. NET, C#, SQL Server),
& Projects
follow me https://linktr.ee/coderbaba
*Programming
*Coding
*Note
Download Telegram
SMS_Pro003.zip
8.6 MB
Project Source code
โค1๐Ÿ‘1
DB Interview questions

Position - Associate Developer
Package - 26LPA

1st Round ๐Ÿ”ฅ
1. What are the new features introduced in Java 8.
https://www.baeldung.com/java-8-new-features

2. Sort a student class list based on the student age in descending order.
https://www.educative.io/answers/how-to-sort-a-list-of-user-defined-objects-in-java

3. Write a logic to detect a loop in linked list and remove the loop
https://www.google.com/amp/s/www.geeksforgeeks.org/detect-loop-in-a-linked-list/amp/

4. Design HashMap put method.
https://www.turing.com/kb/implementing-hashmap-in-java

5. How to divide a monolithic application to Microservice
https://martinfowler.com/articles/break-monolith-into-microservices.html

6. Why String is immutable
https://www.google.com/amp/s/www.geeksforgeeks.org/java-string-is-immutable-what-exactly-is-the-meaning/amp/

7. How Redis Works and what are the different caching strategies.
https://codedamn.com/news/backend/advanced-redis-caching-techniques

8. How to add a list in redis cache and how to access the data again
https://redis.io/glossary/lists-in-redis/

9. What are the design pattern spring boots internally use
https://www.baeldung.com/spring-framework-design-patterns

10. How spring Auto configuration features works
https://www.marcobehler.com/guides/spring-boot-autoconfiguration

11. How to enable hibernate caching
https://www.baeldung.com/hibernate-second-level-cache

12. Lazy loading vs Eager Loading
https://www.imperva.com/learn/performance/lazy-loading/

13. Asked me to improve one SQL query
https://developernation.net/blog/12-ways-to-optimize-sql-queries-in-database-management/



2nd Round ๐Ÿ”ฅ
1. Implements a search engine, something like Google. Low Level Coding
https://medium.com/@maxi.gkd/building-a-search-engine-using-a-trie-data-structure-cb79475d8a3d

2. How Pulisher Subscribe modal works
https://www.geeksforgeeks.org/what-is-pub-sub/

3. How to restrict an API call to be called from users who have required roles and permission
https://www.baeldung.com/role-and-privilege-for-spring-security-registration

4. Request Scope in spring boot
https://www.baeldung.com/spring-bean-scopes#:~:text=The%20request%20scope%20creates%20a,for%20a%20particular%20WebSocket%20session.
5. How to exclude a dependency
https://www.baeldung.com/mvn-plugin-dependency-exclusion

6. How to pass JWT token in rest api call
https://www.toptal.com/spring/spring-security-tutorial

7. logic to execute a method after every one hour without using Cron job
https://stackoverflow.com/questions/10748212/how-to-call-function-every-hour-also-how-can-i-loop-this#:~:text=Create%20a%20Timer%20object%20and,timer.

while(1==1) {
//Your code here
try{
Thread.sleep(3600000);
}
catch (Exception e) {}
}

8. Difference between scheduled and cached thread pool
https://www.linkedin.com/pulse/types-thread-pool-executors-aniket-nandan?utm_source=share&utm_medium=member_android&utm_campaign=share_via
___

โค๏ธ Please add more peoples to this telegram channel . follow @coder_baba
๐Ÿ‘1
100+ Practice Questions

โ C/C++
โ Python
โ JavaScript
โ Java
โ C#
โ Golang

โžŠ Simple Numbers

โž€ Find a digit at a specific place in a number
โž Find count of digits in a number
โž‚ Find the largest digit
โžƒ Find the 2nd largest digit
โž„ Find the kth largest digit
โž… Find the smallest digit
โž† Find the 2nd smallest digit
โž‡ Find the kth smallest digit
โžˆ Find generic root (sum of all digits) of a number
โž‰ Reverse the digits in a number
โž€โž€ Rotate the digits in a number
โž€โž Is the number a palindrome?
โž€โž‚ Find sum of 'n' numbers
โž€โžƒ Check if a number is perfect square
โž€โž„ Find a number in an AP sequence
โž€โž… Find a number in a GP sequence
โž€โž† Find a number in fibonacci sequence
โž€โž‡ Check number divisibility by 2, 3, 5, 9
โž€โžˆ Check if a number is primary or not
20. Given a number, print all primes smaller than it
โžโž€ Check if a number is circular prime or not
โžโž Find all prime factors of a number
โžโž‚ Find the GCD of 2 numbers
โžโžƒ Find the LCM of 2 numbers
โžโž„ Find the factorial of a number
โžโž… Find the exponentiation of a number

โž‹ Unit Conversion

โž€ Number Base (Binary, Octal, Hexadecimal, Decimal)
โž Weight (gram, kg, pound)
โž‚ Height (cm, m, inch, feet)
โžƒ Temperature (centigrade, fahrenhite)
โž„ Distance (km, mile)
โž… Area (mยฒ, kmยฒ, acre)
โž† Volume (ltr, gallon)
โž‡ Time (sec, min, hour)
โžˆ Currency

โžŒ Calculator

โž€ Loan EMI Calculator
โž Fixed Deposit Returns Calculator
โž‚ Interest Calculator
โžƒ BMI Calculator
โž„ Item Price (considering tax, discount, shipping)
โž… Tip Calculator

โž Geometry

โž€ Find distance between 2 points
โž Given 2 sides of a right angle triangle, find the 3rd
โž‚ Find 3rd angle of a triangle when 2 are given
โžƒ Area of a triangle when 3 sides are given
โž„ Area of a right angle triangle
โž… Perimeter of a Square
โž† Area of a Square
โž‡ Perimeter of a Rectangle
โžˆ Area of a Rectangle
โž‰ Circumference of a Circle
โž€โž€ Area of a Circle
โž€โž Circumference of a Semi-Circle
โž€โž‚ Area of a Semi-Circle
โž€โžƒ Area of a Ring
โž€โž„ Circumference of an Ellipse
โž€โž… Area of an Ellipse
โž€โž† Suface Area of a Sphere
โž€โž‡ Volume of a Sphere
โž€โžˆ Surface Area of a Hemisphere
20. Volume of a Hemisphere
โžโž€ Surface area of a Cube
โžโž Volume of a Cube
โžโž‚ Surface area of a Cylinder
โžโžƒ Volume of a Cylinder

โžŽ Vector

โž€ Find Scalar Multiplication of a vector
โž Find addition/subtraction of vectors
โž‚ Find magnitude of a vector
โžƒ Find an unit vector along a given vector
โž„ Find dot product of 2 vectors
โž… Find cross product of 2 vectors
โž† Check if 2 vectors are orthogonal

โž Matrix

โž€ Find the determinant of a matrix
โž Find Scalar Multiplication of a matrix
โž‚ Find addition/subtraction of matrices
โžƒ Find the transpose of a matrix
โž„ Find if 2 matrices are orthogonal
โž… Find inverse of a 2x2 and 3x3 matrix

โž Set

โž€ Find Union of 2 sets
โž Find Intersection of 2 sets
โž‚ Find the Difference of 2 sets
โžƒ Find the Symmetric Difference of 2 sets
โž„ Find if a set is subset/superset of another set
โž… Find if 2 sets are disjoints

โž‘ Special Numbers

โž€ Strong Number
โž Perfect Number
โž‚ Armstrong Number
โžƒ Harshad Number
โž„ Kaprekar Number
โž… Lychrel Number
โž† Narcissistic Decimal Number
โž‡ Lucus Number
โžˆ Catalan Number
โž‰ Duck Number
โž€โž€ Ugly Number
โž€โž Abundant Number
โž€โž‚ Deficient Number
โž€โžƒ Automorphic Number
โž€โž„ Magic Number
โž€โž… Friendly Pair Numbers
โž€โž† Neon Number
โž€โž‡ Spy Number
โž€โžˆ Happy Number
20. Sunny Number
โžโž€ Disarium Number
โžโž Pronic Number
โžโž‚ Trimorphic Number
โžโžƒ Evil Number
โžโž„ Amicable Pairs

โฌ˜ If you want to excel in programming, practice a lot.

โฌ™ Problems based on numbers are easy to start with and they help in improving your analytical skills.

follow @coder_baba
๐Ÿ‘3โค1
Top 50 Linux Commands You Must Know as a Regular User...

1. ls - view contents of directory (list)
2. pwd - path of the current directory
3. cd - change directoryn
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that require administrative or root permissions
16. top - task manager in terminal
17. tar - used to archive multiple files into a tarball
18. grep - used to searching words in specific files
19. head - view first lines of any text file
20. tail - view last lines of any text file
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along with their statuses
24. sort - is a command line utility for sorting lines of text files
25. df - info about system disk
26. du - check how much space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts used to represent a command
33. w - current user info
34. whereis - used to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - used to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to check connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to change ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a short dump of info about a user

Follow @coder_baba
#coderbaba #linux #cmd
โค1๐Ÿ‘1
Don't overwhelm to learn Git,๐Ÿ™Œ

Git is only this much๐Ÿ‘‡๐Ÿ˜‡

1.Core:
โ€ข git init
โ€ข git clone
โ€ข git add
โ€ข git commit
โ€ข git status
โ€ข git diff
โ€ข git checkout
โ€ข git reset
โ€ข git log
โ€ข git show
โ€ข git tag
โ€ข git push
โ€ข git pull

2.Branching:
โ€ข git branch
โ€ข git checkout -b
โ€ข git merge
โ€ข git rebase
โ€ข git branch --set-upstream-to
โ€ข git branch --unset-upstream
โ€ข git cherry-pick

3.Merging:
โ€ข git merge
โ€ข git rebase

4.Stashing:
โ€ข git stash
โ€ข git stash pop
โ€ข git stash list
โ€ข git stash apply
โ€ข git stash drop

5.Remotes:
โ€ข git remote
โ€ข git remote add
โ€ข git remote remove
โ€ข git fetch
โ€ข git pull
โ€ข git push
โ€ข git clone --mirror

6.Configuration:
โ€ข git config
โ€ข git global config
โ€ข git reset config

7. Plumbing:
โ€ข git cat-file
โ€ข git checkout-index
โ€ข git commit-tree
โ€ข git diff-tree
โ€ข git for-each-ref
โ€ข git hash-object
โ€ข git ls-files
โ€ข git ls-remote
โ€ข git merge-tree
โ€ข git read-tree
โ€ข git rev-parse
โ€ข git show-branch
โ€ข git show-ref
โ€ข git symbolic-ref
โ€ข git tag --list
โ€ข git update-ref

8.Porcelain:
โ€ข git blame
โ€ข git bisect
โ€ข git checkout
โ€ข git commit
โ€ข git diff
โ€ข git fetch
โ€ข git grep
โ€ข git log
โ€ข git merge
โ€ข git push
โ€ข git rebase
โ€ข git reset
โ€ข git show
โ€ข git tag

9.Alias:
โ€ข git config --global alias.<alias> <command>

10.Hook:
โ€ข git config --local core.hooksPath <path>

โœ… Add more peoples to this groups ๐Ÿ™Œ
#coderbaba #git follow @coder_baba
๐Ÿ‘4โค1
Coder Baba pinned ยซDon't overwhelm to learn Git,๐Ÿ™Œ Git is only this much๐Ÿ‘‡๐Ÿ˜‡ 1.Core: โ€ข git init โ€ข git clone โ€ข git add โ€ข git commit โ€ข git status โ€ข git diff โ€ข git checkout โ€ข git reset โ€ข git log โ€ข git show โ€ข git tag โ€ข git push โ€ข git pull 2.Branching: โ€ขโ€ฆยป
๐Ÿ“š Company-Specific DSA Material: LeetCode Questions ๐Ÿ“š
โค1๐Ÿ‘1
๐Ÿ“š Company-Specific DSA Material: LeetCode Questions ๐Ÿ“š๐Ÿ‘‡
โค1